/* ═══════════════════════════════════════════════════════════
   FANUMI — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem; line-height: 1.75; color: #1e2d20;
  background: #ffffff; -webkit-font-smoothing: antialiased;
  word-break: break-word; overflow-wrap: break-word;
}
a { color: #1e7d3f; text-decoration: none; transition: color .2s; }
a:hover { color: #27a854; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* VARIABLES */
:root {
  --green: #1e7d3f; --green-dark: #0f5c2a; --green-light: #f0f9f4;
  --green-mid: #27a854; --text: #1e2d20; --text-muted: #6b7280;
  --border: #e5ebe7; --white: #ffffff; --bg-light: #f8faf8;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 4px 24px rgba(0,0,0,.08);
}

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* UTILITIES */
.green { color: var(--green); }
.bg-white { background: #fff; }
.bg-light { background: var(--bg-light); }
.bg-green-light { background: var(--green-light); }
.bg-green { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; color: var(--text); margin-bottom: 12px; line-height: 1.25; }
.section-header p { font-size: clamp(15px, 1.6vw, 17px); color: var(--text-muted); line-height: 1.7; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #dcfce7; color: var(--green);
  padding: 6px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 800; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .4px;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: all .25s; border: none;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-mid)); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(30,125,63,.4); color: #fff; }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-outline-green { background: #fff; color: var(--green); border: 2px solid var(--green); }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--green); font-weight: 800; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); color: var(--green-dark); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ══ HEADER ══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.header-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 22px; font-weight: 900; color: var(--green);
}
.logo-img {
  width: 44px; height: 44px; object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(30,125,63,.25));
  transition: transform .3s;
}
.site-logo:hover .logo-img { transform: scale(1.08); }
.logo-icon { font-size: 26px; }
.logo-text { color: var(--green); }
.site-nav .nav-list { display: flex; gap: 4px; align-items: center; }
.site-nav .nav-list li a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--text); transition: all .2s;
}
.site-nav .nav-list li a:hover,
.site-nav .nav-list li a.active { color: var(--green); background: var(--green-light); }
.nav-cta {
  background: var(--green) !important; color: #fff !important;
  border-radius: 50px !important; padding: 9px 18px !important;
  font-weight: 700 !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--green-mid) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; top: 70px; left: 0; right: 0; bottom: 0; z-index: 99;
  background: #fff; transform: translateX(-100%); transition: transform .3s ease;
  padding: 24px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu ul li a {
  display: block; padding: 14px 16px; border-radius: 12px;
  font-size: 16px; font-weight: 600; color: var(--text); transition: all .2s;
}
.mobile-menu ul li a:hover { background: var(--green-light); color: var(--green); }
.mobile-cta {
  background: var(--green) !important; color: #fff !important;
  text-align: center; border-radius: 50px !important; margin-top: 8px !important;
}
.mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 98;
}
.mobile-overlay.show { display: block; }
body { padding-top: 70px; }

/* ══ HOME PAGE ═══════════════════════════════════════════════════════════ */

/* HERO */
.hero {
  position: relative; min-height: calc(100vh - 70px);
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0a2416 0%, #0f3d21 40%, #1a5c34 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(39,168,84,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255,255,255,.04) 0%, transparent 50%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 80px 0; }
.hero-text { color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2); border-radius: 50px;
  padding: 6px 16px; font-size: 12px; font-weight: 700;
  margin-bottom: 24px; letter-spacing: .3px;
}
.hero h1 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-hl { color: #5de88a; }
.hero p { font-size: clamp(15px, 1.6vw, 17px); color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust span { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; }
.hero-card {
  background: rgba(255,255,255,.1); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 24px;
  padding: 32px; color: #fff;
}
.hero-avatar { text-align: center; margin-bottom: 16px; }
.hero-avatar img {
  margin: 0 auto;
  width: 130px; height: 130px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.25), 0 8px 32px rgba(0,0,0,.35);
}
.hero-card-info { text-align: center; margin-bottom: 24px; }
.hero-card-info strong { display: block; font-size: 19px; font-weight: 900; margin-bottom: 4px; }
.hero-card-info span { font-size: 13px; color: rgba(255,255,255,.7); }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }
.hs { text-align: center; }
.hs-n { display: block; font-size: 22px; font-weight: 900; color: #5de88a; }
.hs-l { display: block; font-size: 11px; color: rgba(255,255,255,.6); margin-top: 4px; line-height: 1.3; }

/* NUMBERS BAR */
.numbers-bar { background: var(--green); padding: 44px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.number-item { color: #fff; }
.num { display: block; font-size: clamp(28px, 3.5vw, 38px); font-weight: 900; color: #fff; line-height: 1.1; }
.num-l { display: block; font-size: 13px; color: rgba(255,255,255,.8); margin-top: 8px; font-weight: 600; line-height: 1.4; }

/* HOME SECTIONS */
.home-section { padding: 88px 0; }

/* ABOUT COL */
.col-text h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.col-text p { font-size: clamp(15px, 1.5vw, 16px); color: var(--text-muted); margin-bottom: 20px; line-height: 1.85; }
.check-list { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { font-size: 15px; color: var(--text); font-weight: 500; padding-left: 4px; line-height: 1.6; }
.about-card-visual {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 24px; padding: 36px 32px; color: #fff; text-align: center;
}
.acv-icon { margin-bottom: 20px; display: flex; justify-content: center; }
.acv-icon img {
  margin: 0 auto;
  width: 110px; height: 110px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.2), 0 8px 24px rgba(0,0,0,.3);
}
.acv-quote { font-size: clamp(15px, 1.5vw, 17px); font-style: italic; line-height: 1.75; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.acv-name { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.7); }

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 40px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card-img { display: block; overflow: hidden; height: 200px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-placeholder { background: var(--green-light); display: flex; align-items: center; justify-content: center; }
.placeholder-icon { font-size: 48px; }
.blog-card-body { padding: 20px; }
.blog-card-meta { display: flex; gap: 10px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.blog-cat-label { background: var(--green-light); color: var(--green); padding: 2px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.blog-card-body h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--green); }
.blog-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.blog-read-more { font-size: 13px; color: var(--green); font-weight: 700; }
.blog-read-more:hover { text-decoration: underline; }
.blog-empty { text-align: center; padding: 60px; color: var(--text-muted); grid-column: 1/-1; }
.section-cta { text-align: center; }

/* PRODUCTS PREVIEW */
.products-preview { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 2px solid var(--border);
  transition: all .25s; position: relative;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--green); }
.product-card-featured { border-color: var(--green); background: linear-gradient(180deg, #f0fff4 0%, #fff 100%); }
.pc-badge-top {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; padding: 4px 16px;
  border-radius: 50px; font-size: 12px; font-weight: 800; white-space: nowrap;
}
.pc-icon { font-size: 40px; margin-bottom: 12px; }
.product-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.product-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.product-card ul { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.product-card ul li { font-size: 14px; color: var(--text); }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testi-stars { font-size: 18px; margin-bottom: 12px; }
.testi-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { font-size: 32px; }
.testi-avatar-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; border: 2px solid var(--green-light, #e8f5e9); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.testi-author strong { display: block; font-size: 14px; font-weight: 800; }
.testi-author span { display: block; font-size: 12px; color: var(--text-muted); }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, var(--green-dark), #1a6b35); padding: 88px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-text { color: #fff; }
.cta-text h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.cta-text h2 span { color: #5de88a; }
.cta-text p { font-size: clamp(15px, 1.5vw, 17px); color: rgba(255,255,255,.85); line-height: 1.75; }
.cta-actions { text-align: center; flex-shrink: 0; }
.cta-actions .btn { min-width: 260px; padding: 16px 32px; font-size: 15px; }
.cta-note { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.65); }

/* ══ BLOG PAGE ═══════════════════════════════════════════════════════════ */
.blog-hero { background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 72px 0; text-align: center; }
.blog-hero h1 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.blog-hero p { font-size: clamp(15px, 1.6vw, 17px); color: rgba(255,255,255,.85); line-height: 1.6; }
.blog-hero .section-badge { background: rgba(255,255,255,.15); color: #fff; }

.blog-page { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 60px 24px; align-items: start; }
.blog-main { min-width: 0; }

.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-pill { padding: 7px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; background: #fff; color: var(--text-muted); border: 2px solid var(--border); transition: all .2s; }
.cat-pill:hover, .cat-pill.active { background: var(--green); color: #fff; border-color: var(--green); }

.blog-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 32px; }
.blog-featured-img { display: block; overflow: hidden; min-height: 300px; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-placeholder { background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 64px; }
.blog-featured-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 24px; font-weight: 900; margin-bottom: 12px; line-height: 1.4; }
.blog-featured-body h2 a { color: var(--text); }
.blog-featured-body h2 a:hover { color: var(--green); }
.blog-featured-body p { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }

.blog-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; font-size: 12px; color: var(--text-muted); }

.blog-grid-3 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

.blog-pagination { margin-top: 48px; }
.blog-pagination .page-numbers { display: inline-flex; }
.blog-pagination ul { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; }
.blog-pagination ul li { }
.blog-pagination ul li a, .blog-pagination ul li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 700;
  border: 2px solid var(--border); color: var(--text); transition: all .2s;
}
.blog-pagination ul li a:hover { border-color: var(--green); color: var(--green); }
.blog-pagination ul li span.current { background: var(--green); color: #fff; border-color: var(--green); }
.blog-pagination .prev, .blog-pagination .next { width: auto; padding: 0 16px; }

.blog-no-posts { text-align: center; padding: 80px 24px; }
.blog-no-posts h3 { font-size: 24px; font-weight: 900; margin-bottom: 12px; }

/* SIDEBAR */
.blog-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.widget-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--green-light); }
.sidebar-cta { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; text-align: center; }
.sidebar-cta .scta-icon { font-size: 36px; margin-bottom: 10px; }
.sidebar-cta h3 { font-size: 16px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 16px; line-height: 1.5; }
.sidebar-cats { display: flex; flex-direction: column; gap: 4px; }
.sidebar-cats li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--text); transition: all .2s; }
.sidebar-cats li a:hover { background: var(--green-light); color: var(--green); }
.cat-count { background: var(--border); color: var(--text-muted); padding: 1px 8px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.sidebar-recent-post { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none; transition: all .2s; }
.sidebar-recent-post:last-child { border-bottom: none; }
.sidebar-recent-post:hover { opacity: .75; }
.srp-img { width: 64px; height: 50px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.srp-img img { width: 100%; height: 100%; object-fit: cover; }
.srp-no-img { background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.srp-info span { display: block; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.srp-info small { font-size: 11px; color: var(--text-muted); }

/* SEARCH FORM */
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; padding: 10px 14px; border: 2px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; outline: none; transition: .2s; }
.search-form input:focus { border-color: var(--green); }
.search-form button { padding: 10px 16px; background: var(--green); color: #fff; border: none; border-radius: 10px; cursor: pointer; font-size: 14px; }

/* ══ SINGLE POST ══════════════════════════════════════════════════════════ */
.single-post-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 48px 24px; align-items: start; }
.single-main { min-width: 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--border); }
.single-header { margin-bottom: 28px; }
.single-header h1 { font-size: clamp(22px, 3vw, 36px); font-weight: 900; line-height: 1.3; margin-top: 12px; }
.single-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.author-avatar { font-size: 40px; }
.single-author strong { display: block; font-size: 15px; font-weight: 800; }
.single-author span { font-size: 13px; color: var(--text-muted); }
.single-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; max-height: 480px; }
.single-featured-img img { width: 100%; height: 480px; object-fit: cover; }

/* ENTRY CONTENT */
.entry-content { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.9; color: #374151; }
.entry-content h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; color: var(--text); margin: 36px 0 14px; }
.entry-content h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 800; color: var(--text); margin: 28px 0 10px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { margin: 16px 0 16px 24px; }
.entry-content li { margin-bottom: 8px; line-height: 1.7; }
.entry-content strong { color: var(--text); font-weight: 700; }
.entry-content em { font-style: italic; }
.entry-content blockquote { border-left: 4px solid var(--green); padding: 16px 24px; margin: 28px 0; background: var(--green-light); border-radius: 0 12px 12px 0; font-style: italic; }
.entry-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.entry-content a { color: var(--green); text-decoration: underline; }

.single-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.tag-pill { padding: 4px 12px; background: var(--bg-light); color: var(--text-muted); border-radius: 50px; font-size: 12px; font-weight: 600; transition: all .2s; }
.tag-pill:hover { background: var(--green); color: #fff; }
.single-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 32px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.share-btn { padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.share-fb { background: #1877f2; color: #fff; }
.share-zalo { background: #0068ff; color: #fff; }
.single-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); }
.single-nav a { color: var(--green); font-size: 14px; font-weight: 600; }
.single-nav div:last-child { text-align: right; }
.single-cta { background: linear-gradient(135deg, var(--green-dark), var(--green)); border-radius: 20px; padding: 32px; display: flex; align-items: center; gap: 24px; margin-top: 40px; color: #fff; }
.scta-icon { font-size: 40px; flex-shrink: 0; }
.scta-text h3 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.scta-text p { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5; }
.single-cta .btn { flex-shrink: 0; }

/* ══ PAGE HERO ════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 72px 0; text-align: center; color: #fff;
}
.page-hero h1 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; margin-bottom: 12px; line-height: 1.2; }
.page-hero p { font-size: clamp(15px, 1.6vw, 17px); color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.page-hero .section-badge { background: rgba(255,255,255,.15); color: #fff; }
.page-hero .green { color: #5de88a; }

/* ══ ABOUT PAGE ═══════════════════════════════════════════════════════════ */
.about-intro { padding: 72px 0; background: #fff; }
.about-photo-wrap { }
.about-photo-placeholder {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 24px; padding: 40px 40px 36px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 16px;
}
.about-photo-placeholder img {
  width: 230px; height: 230px;
  box-shadow: 0 0 0 5px rgba(255,255,255,.2), 0 12px 40px rgba(0,0,0,.4);
}
.about-photo-placeholder span:first-child { font-size: 80px; }
.about-photo-placeholder strong { font-size: 22px; font-weight: 900; }
.ap-title { font-size: 14px; color: rgba(255,255,255,.75); }
.about-badges { display: flex; flex-direction: column; gap: 8px; }
.ab-badge { background: var(--green-light); color: var(--green); padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; text-align: center; }
.about-quote-author { color: var(--green); font-weight: 700; font-size: 14px; margin-top: 8px; }
.about-section { padding: 80px 0; }

.creds-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.cred-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; border: 2px solid var(--border); transition: all .25s; }
.cred-card:hover { border-color: var(--green); transform: translateY(-4px); }
.cred-icon { font-size: 40px; margin-bottom: 12px; }
.cred-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.cred-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.method-steps { display: flex; flex-direction: column; gap: 24px; max-width: 800px; margin: 0 auto; }
.method-step { display: flex; gap: 24px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.ms-num { font-size: 40px; font-weight: 900; color: var(--green); opacity: .3; line-height: 1; flex-shrink: 0; width: 60px; }
.ms-content h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.ms-content p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

.about-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.as-item { color: #fff; }
.as-n { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 900; margin-bottom: 8px; line-height: 1; }
.as-l { font-size: 14px; color: rgba(255,255,255,.85); font-weight: 600; line-height: 1.4; }

/* ══ PRODUCTS PAGE ════════════════════════════════════════════════════════ */
.products-section { padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); border: 2px solid var(--border); position: relative; transition: all .25s; }
.pricing-card:hover { transform: translateY(-6px); }
.pricing-featured { border-color: var(--green); background: linear-gradient(180deg, #f0fff4 0%, #fff 100%); }
.pc-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; padding: 5px 18px; border-radius: 50px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.pc-header { text-align: center; margin-bottom: 28px; }
.pc-icon { font-size: 48px; margin-bottom: 12px; }
.pc-header h3 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.pc-header p { font-size: 14px; color: var(--text-muted); }
.pc-duration { display: inline-block; background: var(--green-light); color: var(--green); padding: 4px 14px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-top: 8px; }
.pc-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pc-features li { font-size: 14px; color: var(--text); }
.pc-features li.no { color: var(--text-muted); }
.pc-cta { text-align: center; }
.pc-note { margin-top: 8px; font-size: 11px; color: var(--text-muted); }

.guarantee-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.g-item { text-align: center; padding: 28px; }
.g-icon { font-size: 44px; margin-bottom: 12px; }
.g-item h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.g-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius-sm); border: 2px solid var(--border); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--green); }
.faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 20px; background: none; border: none; text-align: left; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; color: var(--text); }
.faq-q span { font-size: 22px; color: var(--green); transition: transform .2s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ══ CONTACT PAGE ═════════════════════════════════════════════════════════ */
.contact-section { padding: 80px 0; }
.two-col-contact { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.contact-form-wrap { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.contact-form-wrap h2 { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label { font-size: 13px; font-weight: 700; color: var(--text); }
.cf-group input, .cf-group select, .cf-group textarea {
  padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text); outline: none; transition: .2s;
}
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus { border-color: var(--green); }
.cf-group textarea { resize: vertical; }
.contact-success { text-align: center; padding: 40px 0; }
.contact-success h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.form-error { background: #fee2e2; color: #991b1b; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }

.contact-info h2 { font-size: 28px; font-weight: 900; margin-bottom: 28px; }
.ci-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 28px; flex-shrink: 0; width: 44px; }
.ci-item strong { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.ci-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.ci-link { font-size: 13px; color: var(--green); font-weight: 700; display: inline-block; margin-top: 4px; }
.ci-social h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.ci-social-links { display: flex; gap: 8px; }
.ci-soc-btn { padding: 9px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; color: #fff; }
.ci-fb { background: #1877f2; }
.ci-tt { background: #000; }
.ci-yt { background: #ff0000; }
.ci-zl { background: #0068ff; }
.ci-quiz-cta { background: var(--green-light); border-radius: 20px; padding: 28px; text-align: center; margin-top: 24px; }
.ci-quiz-cta h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }

/* ══ FOOTER ═══════════════════════════════════════════════════════════════ */
.site-footer { background: #0a2416; color: rgba(255,255,255,.8); padding: 80px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px 60px; display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.footer-logo { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-logo-img { filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,.3)); flex-shrink: 0; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); transition: all .2s; }
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.footer-col h4 { font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li, .footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: #5de88a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px; max-width: 1200px; margin: 0 auto; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }

/* ══ RESPONSIVE ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 48px; }
  /* Hiển thị hero card compact trên tablet/mobile thay vì ẩn hoàn toàn */
  .hero-image {
    display: flex;
    justify-content: center;
    order: -1;          /* ảnh xuất hiện TRÊN text */
    margin-bottom: 36px;
  }
  .hero-card {
    max-width: 360px;
    width: 100%;
    padding: 24px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }
  .hero-avatar { margin-bottom: 0; flex-shrink: 0; }
  .hero-avatar img { width: 80px; height: 80px; }
  .hero-card-info { text-align: left; margin-bottom: 0; flex: 1; }
  .hero-card-info strong { font-size: 16px; }
  .hero-card-info span { font-size: 12px; }
  .hero-stats { grid-column: 1 / -1; padding-top: 16px; gap: 8px; }
  .hs-n { font-size: 18px; }
  .hs-l { font-size: 10px; }
  .numbers-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .products-preview { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .creds-grid { grid-template-columns: repeat(2,1fr); }
  .about-stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .guarantee-grid { grid-template-columns: repeat(2,1fr); }
  .blog-page, .single-post-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .two-col-contact { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions .btn { min-width: 0; width: 100%; max-width: 360px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { padding: 40px 0; }
  .hero-image { margin-bottom: 28px; }
  .hero-card { max-width: 320px; padding: 20px 22px; gap: 14px; }
  .hero-avatar img { width: 68px; height: 68px; }
  .hero-card-info strong { font-size: 15px; }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
  .hero-trust { gap: 10px; }
  .home-section { padding: 64px 0; }
  .section-header { margin-bottom: 32px; }
  .cta-section { padding: 64px 0; }
  .page-hero { padding: 56px 0; }
  .about-intro, .about-section, .products-section, .contact-section { padding: 56px 0; }
  .numbers-bar { padding: 36px 0; }
  .blog-hero { padding: 56px 0; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-grid-3, .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .single-cta { flex-direction: column; text-align: center; }
  .single-post-wrap, .blog-page { padding: 36px 16px; }
  .about-stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .creds-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .two-col { gap: 32px; }
  .products-preview { max-width: 100%; }
  .pricing-grid { max-width: 100%; }
  .acv-quote { font-size: 15px; }
  .testi-card p { font-size: 14px; }
}

@media (max-width: 480px) {
  .container, .container-wide { padding: 0 16px; }
  .hero-inner { padding: 36px 0; }
  .hero-card { max-width: 290px; padding: 18px 20px; gap: 12px; }
  .hero-avatar img { width: 60px; height: 60px; }
  .hero-card-info strong { font-size: 14px; }
  .hero-badge { font-size: 11px; padding: 5px 14px; }
  .hero-trust { flex-direction: column; gap: 6px; }
  .hero-trust span { font-size: 12px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .num-l { font-size: 12px; }
  .home-section { padding: 52px 0; }
  .cta-section { padding: 52px 0; }
  .section-header { margin-bottom: 28px; }
  .blog-cats { gap: 6px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .cta-actions .btn { padding: 14px 28px; font-size: 14px; }
  .about-card-visual { padding: 28px 20px; }
  .acv-icon img { width: 90px; height: 90px; }
  .about-photo-placeholder { padding: 32px 24px 28px; }
  .about-photo-placeholder img { width: 180px; height: 180px; }
  .pricing-card { padding: 32px 20px; }
}
