/* =========================================================
   Xưởng Túi MDS — High-converting B2B Landing
   White / Cream / Deep brown · Accent bronze
   ========================================================= */

:root {
  --ink: #2c241e;
  --ink-deep: #1a1512;
  --navy: #2c241e;
  --navy-deep: #1a1512;
  --cta: #c87d32;
  --cta-hover: #b06c28;
  --accent: #b88a44;
  --text: #3a3229;
  --muted: #7a6f63;
  --line: #e8e0d4;
  --bg: #f8f5f0;
  --cream: #f8f5f0;
  --soft: #efe8dc;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 16px 40px rgba(44, 36, 30, 0.12);
  --shadow-soft: 0 6px 24px rgba(44, 36, 30, 0.06);
  --shadow-card: 0 8px 28px rgba(44, 36, 30, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --container: 1180px;
  --section-y: 88px;
  --section-y-m: 56px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --rail-gutter: 1rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: var(--cream);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.55rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow-accent {
  background: rgba(200, 125, 50, 0.12);
  color: #8a5520;
}

.eyebrow.light {
  background: rgba(200, 125, 50, 0.2);
  color: #f3d5b0;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-sm {
  min-height: 42px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 8px 22px rgba(200, 125, 50, 0.28);
}

.btn-primary:hover {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 125, 50, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover,
.product-card:hover .btn-ghost {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200, 125, 50, 0.25);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(44, 36, 30, 0.08);
  box-shadow: 0 8px 24px rgba(44, 36, 30, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-hotline {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.btn-hotline .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.cta-full {
  display: none;
}

.cta-short {
  display: inline;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 70%);
  padding-top: calc(var(--section-y) - 0.5rem);
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-top: 1rem;
  max-width: 14ch;
}

.hero-copy .lead {
  margin-top: 1.15rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.kpi-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.kpi-bar li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.kpi-bar strong {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.kpi-bar span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft);
  aspect-ratio: 4 / 5;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  max-width: 220px;
}

.float-card .material-symbols-outlined {
  color: var(--cta);
  font-size: 1.4rem;
}

.float-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.25;
}

.float-card small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.float-card--top {
  top: 8%;
  left: -4%;
}

.float-card--bottom {
  bottom: 10%;
  right: -2%;
}

/* ---------- Trust Marquee ---------- */
.trust-strip {
  padding: 1.5rem 0 1.75rem;
  border-block: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.trust-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-inline: 0.5rem;
}

.trust-logo {
  flex: 0 0 auto;
  min-width: 118px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 800;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.trust-logo:hover {
  filter: grayscale(0);
  color: var(--ink);
  border-color: #d4c4b0;
  opacity: 1;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Filters ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  margin-inline: calc(var(--rail-gutter) * -1);
  padding-inline: var(--rail-gutter);
  padding-bottom: 0.25rem;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.product-card[hidden],
.product-card.is-hidden {
  display: none !important;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-visual img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  left: auto;
  z-index: 1;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(44, 36, 30, 0.88);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.15rem 1.25rem;
  flex: 1;
}

.product-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.product-meta span {
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--cream);
}

.product-body ul {
  display: grid;
  gap: 0.3rem;
}

.product-body li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.product-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cta);
}

.product-body .btn {
  margin-top: auto;
}

/* ---------- USP ---------- */
.usp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.usp-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.usp-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usp-stat-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  max-width: 200px;
}

.usp-stat-card strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--cta);
  line-height: 1.1;
}

.usp-stat-card span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.usp-content .eyebrow {
  margin-bottom: 0.65rem;
}

.usp-content h2 {
  font-size: clamp(2rem, 3vw, 2.45rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.usp-lead {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 40ch;
}

.usp-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.usp-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.usp-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 125, 50, 0.12);
  color: var(--cta);
  font-size: 1.35rem;
}

.usp-list h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.usp-list p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Projects ---------- */
.projects-section {
  height: auto;
  overflow: hidden;
  isolation: isolate;
  padding-block: 80px;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(184, 138, 68, 0.2), transparent 50%),
    var(--ink);
  color: #f3ebe0;
}

.projects-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.projects-head .eyebrow {
  background: rgba(243, 235, 224, 0.12);
  color: #e8dccb;
}

.projects-head h2 {
  font-size: clamp(2rem, 3vw, 2.45rem);
  line-height: 1.18;
  font-weight: 800;
  color: #fff;
  margin-top: 0.55rem;
  max-width: 16ch;
  letter-spacing: -0.02em;
}

.projects-head p {
  margin-top: 0.7rem;
  color: rgba(243, 235, 224, 0.7);
  max-width: 40ch;
}

.projects-head__link {
  align-self: flex-start;
  color: #e8c9a0;
  font-weight: 700;
  border-bottom: 1px solid rgba(232, 201, 160, 0.45);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.projects-head__link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.project-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  height: auto;
  max-height: none;
  align-items: stretch;
}

.project-bento__side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-width: 0;
  min-height: 0;
}

.project-bento figure {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #1c1712;
  aspect-ratio: 4 / 3;
  width: 100%;
  min-width: 0;
  min-height: 0;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.project-bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.5s var(--ease);
}

.project-bento figure:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 15, 10, 0.88));
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.project-bento figure:hover .project-overlay,
.project-bento figure:focus-visible .project-overlay {
  opacity: 1;
}

.project-overlay strong {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.project-overlay span {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ---------- Stepper ---------- */
#quy-trinh {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: var(--cream);
  margin-top: 0;
  overflow: hidden;
}

.stepper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  margin: 0;
  z-index: 1;
}

.stepper li {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.stepper li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(200, 125, 50, 0.35);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding-inline: 0.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.stepper li:hover .step-num {
  background: var(--cta);
  transform: scale(1.06);
}

.stepper h3 {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.stepper p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  gap: 1.15rem;
}

.testimonial-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.3rem;
  box-shadow: var(--shadow-soft);
  margin: 0;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -0.15rem;
  right: 0.85rem;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(44, 36, 30, 0.06);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.order-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(200, 125, 50, 0.1);
  color: #8a5520;
  font-size: 0.72rem;
  font-weight: 700;
}

.testimonial-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.testimonial-card footer {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
}

.testimonial-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.testimonial-card .author span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Quote ---------- */
.quote-section {
  background: var(--ink);
  color: #fff;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.quote-copy h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1.18;
  font-weight: 800;
  margin-top: 0.65rem;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.quote-copy > p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40ch;
}

.quote-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.quote-badges span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: #f3ebe0;
}

.quote-contacts {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.quote-contacts li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.quote-contacts .material-symbols-outlined {
  color: var(--accent);
}

.quote-contacts span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.quote-contacts a {
  font-weight: 700;
  color: #fff;
}

.quote-form {
  background: var(--white);
  color: var(--text);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
}

.quote-form h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(200, 125, 50, 0.18);
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: #dc2626;
}

.invalid-feedback {
  display: none;
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 0.3rem;
}

.was-validated .is-invalid ~ .invalid-feedback,
.field input.is-invalid ~ .invalid-feedback {
  display: block;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin: 0.5rem 0 1rem;
  cursor: pointer;
}

.check-option input {
  accent-color: var(--cta);
  width: 1rem;
  height: 1rem;
}

.form-feedback {
  margin-top: 0.85rem;
  font-size: 0.9rem;
}

.form-feedback.is-success {
  color: #166534;
  background: #ecfdf5;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.form-feedback.is-error {
  color: #b91c1c;
}

.btn-zalo-success {
  display: inline-flex;
  margin-top: 0.65rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: #0068ff;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.quote-form.is-highlight {
  animation: form-pulse 1.2s ease;
}

@keyframes form-pulse {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(200, 125, 50, 0.35), var(--shadow);
  }
}

/* ---------- Footer / FAB ---------- */
.site-footer {
  background: var(--ink-deep);
  color: rgba(243, 235, 224, 0.78);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-brand strong {
  color: #fff;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-grid p,
.footer-grid li {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.footer-grid a:hover {
  color: #e8c9a0;
}

.footer-legal {
  margin-top: 0.75rem;
  font-size: 0.78rem !important;
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.footer-bottom a {
  color: #e8c9a0;
}

.fab-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 52px;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.25s var(--ease);
}

.fab:hover {
  transform: translateY(-2px);
}

.fab-zalo {
  background: #fff;
  color: var(--ink);
}

.fab-call {
  background: var(--cta);
  color: #fff;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(20, 15, 10, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 78vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox p {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  max-width: 40rem;
  font-size: 0.92rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  :root {
    --section-y: var(--section-y-m);
    --header-h: 64px;
  }

  .float-card--top {
    left: 0.5rem;
    top: 4%;
    max-width: 180px;
    padding: 0.55rem 0.7rem;
  }

  .float-card--bottom {
    right: 0.5rem;
    bottom: 6%;
    max-width: 170px;
  }

  .float-card strong {
    font-size: 0.72rem;
  }

  .float-card small {
    font-size: 0.65rem;
  }

  .filter-tabs::before,
  .filter-tabs::after,
  .product-grid::before,
  .product-grid::after {
    content: "";
    flex: 0 0 var(--rail-gutter);
    width: var(--rail-gutter);
    min-width: var(--rail-gutter);
  }

  .product-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.85rem;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--rail-gutter) * -1);
    padding-inline: 0;
    padding-bottom: 0.35rem;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-grid > .product-card {
    flex: 0 0 min(78vw, 300px) !important;
    width: min(78vw, 300px) !important;
    scroll-snap-align: start;
  }

  .fab .fab-label {
    display: none;
  }

  .fab {
    width: 48px;
    min-width: 48px;
    padding: 0;
    justify-content: center;
  }

  main {
    padding-bottom: 4.5rem;
  }

  .stepper {
    gap: 0;
    padding-left: 0.35rem;
  }

  .stepper::before {
    content: "";
    position: absolute;
    left: 1.35rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 0;
    border-left: 2px dashed rgba(44, 36, 30, 0.18);
  }

  .stepper li {
    margin-bottom: 0.85rem;
    padding-left: 3.4rem;
  }

  .stepper .step-num {
    position: absolute;
    left: 0.55rem;
    top: 1.15rem;
    margin: 0;
  }
}

@media (min-width: 768px) {
  .cta-full {
    display: inline;
  }

  .cta-short {
    display: none;
  }

  .btn-hotline {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 55fr 45fr;
    gap: 2.75rem;
  }

  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .filter-tabs::before,
  .filter-tabs::after {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .usp-layout {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }

  .projects-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .project-bento {
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    height: auto;
    max-height: none;
  }

  .project-bento__side {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: auto;
    min-height: 0;
  }

  .project-bento__side figure {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }

  /* Ảnh lớn trái cao bằng 2 ảnh phải + gap — không dùng height cố định */
  .project-bento__main {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }

  .project-bento__main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .stepper {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .stepper::before {
    content: "";
    position: absolute;
    top: 2.15rem;
    left: 8%;
    right: 8%;
    border-top: 2px dashed rgba(44, 36, 30, 0.16);
    z-index: 0;
    pointer-events: none;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .quote-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: 3.4rem;
  }
}

@media (min-width: 1100px) {
  .float-card--top {
    left: -8%;
  }

  .float-card--bottom {
    right: -6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .fab-zalo,
  .product-visual img,
  .product-card,
  .btn-hotline .dot {
    animation: none !important;
    transition: none !important;
  }
}
