/*
Theme Name: Flatsome ZB368 Child
Description: Child theme for ZB368 brand landing on Flatsome.
Author: OpenAI Codex
Template: flatsome
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@600;700&display=swap');

body,
button,
input,
select,
textarea {
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
}

body {
  background: #221f1b;
  color: #efe5d3;
}

html {
  scroll-behavior: smooth;
}

.page-wrapper {
  background:
    radial-gradient(circle at top right, rgba(224, 160, 76, 0.14), transparent 26%),
    linear-gradient(180deg, #24211d 0%, #1f1c18 100%);
}

.header-main {
  background: rgba(28, 25, 22, 0.92);
}

.header .header-logo,
.header .header-logo-dark,
.header .header-logo-sticky {
  max-height: 44px;
}

.header-main .nav > li > a,
.header:not(.transparent) .header-nav-main.nav > li > a {
  color: #fff2db;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}

.header-main .nav > li > a:hover,
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a {
  color: #ffb24b;
}

.zb-home h1,
.zb-home h2,
.zb-home h3 {
  font-family: "Cormorant Garamond", serif;
}

.zb-home .section {
  padding-top: 0;
  padding-bottom: 0;
}

.zb-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.zb-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 390px;
  background:
    linear-gradient(90deg, rgba(19, 16, 11, 0.82) 0%, rgba(19, 16, 11, 0.48) 45%, rgba(19, 16, 11, 0.12) 100%),
    url("https://www.zb368.me/wp-content/uploads/2025/09/zb368-uy-tin-chat-luong.jpg") center/cover no-repeat;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.zb-hero-copy {
  position: absolute;
  left: 42px;
  bottom: 36px;
  max-width: 430px;
  z-index: 2;
}

.zb-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffce75;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zb-hero-copy h1 {
  margin: 0 0 10px;
  color: #fff4df;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 11ch;
  text-wrap: balance;
}

.zb-hero-text {
  margin: 0;
  color: rgba(255, 244, 223, 0.88);
  font-size: 15px;
  line-height: 1.6;
  max-width: 32ch;
}

.zb-hero-badge {
  position: absolute;
  right: 40px;
  top: 34px;
  z-index: 2;
  text-align: right;
}

.zb-badge-chip {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(122, 95, 42, 0.84);
  color: #fff4dc;
  font-size: 13px;
  font-weight: 800;
}

.zb-badge-number {
  display: block;
  margin-top: 4px;
  color: #ffca49;
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 0.9;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

.zb-cta-wrap {
  margin-top: -22px;
  position: relative;
  z-index: 5;
}

.zb-cta {
  display: block;
  padding: 16px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eb8b5a 0%, #d97749 100%);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.zb-cta:hover {
  color: #fff;
  background: linear-gradient(180deg, #f19769 0%, #df7f50 100%);
}

.zb-fixed-toc {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 168px;
  padding: 14px;
  border: 1px solid rgba(255, 190, 103, 0.16);
  border-radius: 18px;
  background: rgba(31, 28, 24, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.zb-fixed-toc a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 205, 128, 0.07);
  color: #fff1d2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.zb-fixed-toc a:hover {
  background: rgba(255, 178, 76, 0.18);
  color: #ffbf64;
  transform: translateX(-2px);
}

.zb-intro-card,
.zb-mini-card,
.zb-feature-card {
  height: 100%;
  border: 1px solid rgba(255, 190, 103, 0.12);
  border-radius: 24px;
  background: rgba(46, 41, 36, 0.96);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
}

.zb-intro-card {
  padding: 28px 30px;
}

.zb-section-title {
  margin: 0 0 14px;
  color: #f5a33f;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.zb-flow-title {
  margin: 0 0 10px;
  color: #fff0d1;
  font-size: 24px;
  line-height: 1.15;
}

.zb-intro-text,
.zb-mini-text,
.zb-feature-text {
  margin: 0;
  color: #eadfcb;
  font-size: 15px;
  line-height: 1.72;
}

.zb-mini-card {
  padding: 26px 26px 14px;
}

.zb-mini-title {
  margin: 0 0 12px;
  color: #fff0cf;
  font-size: 26px;
  line-height: 1.08;
}

.zb-mini-links a {
  display: block;
  margin-bottom: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 212, 140, 0.08);
  border: 1px solid rgba(255, 212, 140, 0.14);
  color: #fff4de;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.zb-mini-links a:hover {
  background: rgba(255, 212, 140, 0.14);
}

.zb-feature-card {
  overflow: hidden;
}

.zb-feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.zb-feature-body {
  padding: 18px 18px 20px;
}

.zb-feature-title {
  margin: 0 0 8px;
  color: #fff0d0;
  font-size: 24px;
  line-height: 1.08;
}

.zb-feature-link {
  display: inline-block;
  margin-top: 12px;
  color: #ffb24c;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.zb-feature-link:hover {
  color: #ffc66f;
}

.zb-spacer-sm {
  height: 22px;
}

.zb-spacer-md {
  height: 28px;
}

.zb-spacer-lg {
  height: 36px;
}

@media (max-width: 849px) {
  .header .header-logo,
  .header .header-logo-dark,
  .header .header-logo-sticky {
    max-height: 36px;
  }

  .zb-hero {
    min-height: 330px;
    border-radius: 22px;
  }

  .zb-hero-copy {
    left: 22px;
    right: 22px;
    bottom: 24px;
    max-width: none;
  }

  .zb-hero-badge {
    right: 22px;
    top: 20px;
  }

  .zb-hero-copy h1 {
    font-size: clamp(24px, 7vw, 34px);
    max-width: 11ch;
  }

  .zb-hero-text {
    font-size: 14px;
    max-width: 30ch;
  }

  .zb-badge-number {
    font-size: clamp(42px, 13vw, 58px);
  }

  .zb-cta-wrap {
    margin-top: 0;
  }

  .zb-fixed-toc {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    transform: none;
    flex-direction: row;
    gap: 8px;
    width: auto;
    overflow-x: auto;
    padding: 10px;
    border-radius: 16px;
  }

  .zb-fixed-toc a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 12px;
  }

  .zb-section-title {
    font-size: clamp(26px, 6vw, 34px);
  }

  .zb-flow-title {
    font-size: 22px;
  }

  .zb-intro-card,
  .zb-mini-card {
    padding: 22px 20px;
  }
}
