/* ========== TOKA Sofa Landing Page ========== */
/* Bảng màu lấy theo logo TOKA: cam đậm -> vàng cam, nền kem ấm, chữ than nâu */

:root {
  --c-orange: #ef6c1a;
  --c-orange-dark: #c74e08;
  --c-orange-light: #fdae3d;
  --c-gold: #ffcb6b;
  --c-cream: #fff8f0;
  --c-cream-dark: #f6e9d8;
  --c-ink: #241a12;
  --c-brown: #5b4636;
  --c-gray: #74695f;
  --c-white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(36, 26, 18, 0.08);
  --shadow-card: 0 6px 20px rgba(36, 26, 18, 0.10);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --gradient-brand: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-light) 55%, var(--c-gold) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 800; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient-brand);
  color: var(--c-white);
  box-shadow: 0 8px 22px rgba(239, 108, 26, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(239, 108, 26, 0.45); }
.btn-outline {
  background: transparent;
  border-color: var(--c-orange);
  color: var(--c-orange-dark);
}
.btn-outline:hover { background: rgba(239, 108, 26, 0.08); }
.btn-white { background: var(--c-white); color: var(--c-orange-dark); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.7); color: var(--c-white); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36,26,18,0.06);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-soft); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.05rem; color: var(--c-ink); display: none; }
.main-nav { display: none; gap: 22px; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--c-orange-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.hotline { display: none; align-items: center; gap: 6px; font-weight: 700; color: var(--c-orange-dark); }
.hotline-icon { font-size: 1.1rem; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; }

@media (min-width: 900px) {
  .brand-name { display: inline; }
  .main-nav { display: flex; }
  .hotline { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 899px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    flex-direction: column;
    padding: 10px 20px 20px;
    box-shadow: var(--shadow-soft);
    display: none;
    gap: 14px;
  }
  .main-nav.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 46px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
  padding-bottom: 40px;
}
.eyebrow {
  display: inline-block;
  color: var(--c-orange-dark);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .82rem;
  background: rgba(239,108,26,0.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .3em; }
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: 1.15rem; font-weight: 700; color: var(--c-brown); margin: 0 0 .7em; }
.hero-sub { color: var(--c-gray); font-size: 1.02rem; margin-bottom: 1.6em; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-badge {
  position: absolute;
  bottom: -18px;
  right: -10px;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px 20px;
  text-align: center;
  border: 3px solid var(--c-cream);
}
.hero-badge strong { display: block; font-size: 1.6rem; color: var(--c-orange-dark); }
.hero-badge span { font-size: .78rem; color: var(--c-gray); font-weight: 600; }

.trust-bar { background: var(--c-ink); color: var(--c-cream); }
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 16px 20px;
  font-size: .88rem;
  font-weight: 600;
  justify-content: center;
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; padding-bottom: 56px; }
  .hero-media img { height: 460px; }
  .trust-bar-inner { justify-content: space-between; }
}

/* ---------- Sections generic ---------- */
.section { padding: 64px 0; }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.section-title.text-left { text-align: left; margin-left: 0; }

/* ---------- Problems ---------- */
.problems { background: var(--c-white); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.problem-card {
  background: var(--c-cream);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(36,26,18,0.06);
}
.problem-icon { font-size: 1.3rem; flex-shrink: 0; }
.problem-card p { margin: 0; color: var(--c-brown); }
.bridge-text {
  margin: 34px auto 0;
  max-width: 780px;
  text-align: center;
  font-size: 1.1rem;
  padding: 20px 26px;
  border-left: 5px solid var(--c-orange);
  background: rgba(239,108,26,0.06);
  border-radius: var(--radius-sm);
}
@media (min-width: 700px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Solutions ---------- */
.solution-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.solution-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.solution-media { height: 220px; overflow: hidden; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.solution-card:hover .solution-media img { transform: scale(1.05); }
.solution-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.solution-body h3 { font-size: 1.15rem; }
.solution-body p { color: var(--c-gray); margin: 0; font-size: .95rem; }
.fit { color: var(--c-brown) !important; font-weight: 600; }
.solution-body .btn { margin-top: auto; align-self: flex-start; white-space: normal; text-align: center; }
@media (min-width: 860px) { .solution-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- USP ---------- */
.usp { background: var(--c-white); }
.usp-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.usp-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); width: 100%; height: 320px; object-fit: cover; }
.usp-list { display: flex; flex-direction: column; gap: 22px; }
.usp-list li { display: flex; gap: 16px; }
.usp-num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.usp-list strong { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.usp-list p { margin: 0; color: var(--c-gray); font-size: .95rem; }
@media (min-width: 900px) { .usp-grid { grid-template-columns: .85fr 1.15fr; } .usp-media { position: sticky; top: 100px; } }

/* ---------- Process ---------- */
.process { background: var(--c-cream-dark); }
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.process-step {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.02rem; }
.process-step p { color: var(--c-gray); font-size: .9rem; margin: 0; }
@media (min-width: 860px) { .process-grid { grid-template-columns: repeat(5, 1fr); } }

.process-cta {
  margin-top: 40px;
  background: var(--c-ink);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
.process-cta img { width: 100%; height: 220px; object-fit: cover; }
.process-cta-copy { padding: 30px; text-align: center; }
.process-cta-copy h3 { color: var(--c-cream); font-size: 1.3rem; }
@media (min-width: 760px) {
  .process-cta { grid-template-columns: 1fr 1fr; align-items: center; }
  .process-cta img { height: 100%; }
  .process-cta-copy { text-align: left; }
}

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.product-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}
.product-card img { height: 200px; object-fit: cover; }
.product-body { padding: 20px; }
.product-body h3 { font-size: 1.05rem; }
.product-body p { color: var(--c-gray); font-size: .92rem; }
.product-body .price { color: var(--c-orange-dark); font-weight: 700; font-size: .95rem; }
.product-body .btn { white-space: normal; text-align: center; }
.note { text-align: center; color: var(--c-gray); font-size: .82rem; margin-top: 24px; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Social proof ---------- */
.social-proof { background: var(--c-white); }
.counter-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 46px;
}
.counter-item { text-align: center; }
.counter { font-size: 2.2rem; font-weight: 800; color: var(--c-orange-dark); }
.counter-item p { margin: 4px 0 0; color: var(--c-gray); font-size: .88rem; font-weight: 600; }
@media (min-width: 700px) { .counter-bar { grid-template-columns: repeat(4, 1fr); } }

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.testimonial-card {
  background: var(--c-cream);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(36,26,18,0.06);
}
.stars { margin-bottom: 10px; }
.testimonial-card p { color: var(--c-brown); font-style: italic; }
.testimonial-card strong { display: block; margin-top: 10px; font-size: .88rem; color: var(--c-gray); font-style: normal; }
@media (min-width: 700px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }

.fanpage-embed { margin-top: 50px; text-align: center; }
.fanpage-lead { font-weight: 700; margin-bottom: 18px; }
.fanpage-frame { display: flex; justify-content: center; margin-bottom: 18px; overflow-x: auto; }

/* ---------- Offer / Lead form ---------- */
.offer { background: var(--c-cream-dark); }
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.offer-list { display: flex; flex-direction: column; gap: 16px; font-size: 1.02rem; }
.offer-list li { background: var(--c-white); padding: 16px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
.lead-form, .lead-success {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.lead-form h3 { text-align: center; margin-bottom: 20px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.lead-form input {
  font-family: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #e3d6c7;
  font-size: .98rem;
}
.lead-form input:focus { outline: 2px solid var(--c-orange-light); border-color: var(--c-orange); }
.lead-form fieldset { border: none; padding: 0; margin: 0 0 18px; }
.lead-form legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.radio { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; margin-bottom: 8px !important; }
.radio input { width: auto; }
.form-note { text-align: center; color: var(--c-gray); font-size: .82rem; margin: 14px 0 0; }
.lead-success { text-align: center; }
.lead-success-icon { font-size: 2.4rem; margin: 0; }
@media (min-width: 900px) { .offer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--c-white); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-ink);
}
.faq-icon { color: var(--c-orange-dark); font-size: 1.3rem; transition: transform .2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 20px;
}
.faq-answer p { margin: 0 0 18px; color: var(--c-gray); }
.faq-item.open .faq-answer { max-height: 300px; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--gradient-brand); text-align: center; color: var(--c-white); }
.final-cta h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
.final-cta p { max-width: 620px; margin: 0 auto 26px; opacity: .95; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-cream-dark); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
.footer-logo { height: 46px; background: var(--c-white); padding: 8px 12px; border-radius: var(--radius-sm); margin-bottom: 14px; }
.footer-brand p { color: rgba(255,248,240,0.7); font-size: .9rem; }
.footer-col h4 { color: var(--c-white); font-size: 1rem; margin-bottom: 12px; }
.footer-col p { font-size: .9rem; margin: 0 0 8px; color: rgba(255,248,240,0.8); }
.footer-col a:hover { color: var(--c-orange-light); }
.footer-map iframe { border-radius: var(--radius-sm); }
.footer-bottom { border-top: 1px solid rgba(255,248,240,0.12); padding: 18px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .82rem; color: rgba(255,248,240,0.6); }
.footer-links a { margin: 0 4px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

/* ---------- Sticky mobile bar ---------- */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  z-index: 90;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
}
.sticky-btn { flex: 1; text-align: center; padding: 15px 10px; font-weight: 800; font-size: .95rem; }
.sticky-call { background: var(--c-ink); color: var(--c-white); }
.sticky-zalo { background: var(--gradient-brand); color: var(--c-white); }
body { padding-bottom: 58px; }
@media (min-width: 900px) {
  .sticky-mobile-bar { display: none; }
  body { padding-bottom: 0; }
}
