/* AI Care – trang chủ & trang nội dung */
.ac-home, .ac-home * { box-sizing: border-box; }
.ac-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ac-eyebrow { font: 600 13px/1.4 'Open Sans', Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.ac-eyebrow--gold { color: var(--gold); }
.ac-lead { font-size: 18px; line-height: 1.65; color: var(--text); }
.ac-center { text-align: center; margin-top: 28px; }
.ac-empty { text-align: center; padding: 32px; border: 1px dashed var(--border); background: var(--background_light); border-radius: 8px; }

.ac-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ac-btn { display: inline-block; padding: 13px 26px; border-radius: 6px; background: var(--primary); color: #fff !important; font-weight: 600; text-decoration: none; border: 2px solid var(--primary); transition: background .2s, color .2s; }
.ac-btn:hover { background: var(--primary_hover); border-color: var(--primary_hover); }
.ac-btn--gold { background: var(--gold); border-color: var(--gold); color: #2A1608 !important; }
.ac-btn--gold:hover { background: #C8961A; border-color: #C8961A; }
.ac-btn--ghost { background: transparent; border-color: rgba(244,228,188,.6); color: #F4E4BC !important; }
.ac-btn--ghost:hover { background: rgba(244,228,188,.12); }
.ac-btn--line { background: transparent; color: var(--primary) !important; }
.ac-btn--line:hover { background: var(--primary); color: #fff !important; }
.ac-link { color: var(--primary); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border); }

/* Hero */
.ac-hero { background: radial-gradient(ellipse at 75% 40%, #5A3418 0%, #3B2210 55%, #2A1608 100%); color: #F4E4BC; padding: 72px 0 80px; position: relative; overflow: hidden; }
.ac-hero::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(218,165,32,.35); pointer-events: none; }
.ac-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.ac-hero h1 { color: #F4E4BC !important; font-size: clamp(32px, 4.4vw, 54px); margin: 0 0 18px; }
.ac-hero .ac-lead { color: #E9D9B4; max-width: 620px; }
.ac-hero .ac-eyebrow { color: var(--gold); }
.ac-hero__art { display: flex; justify-content: center; }
.ac-hero__art img { width: min(100%, 340px); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); background: #FBF7EC; border-radius: 50%; padding: 10px; }

/* Cam kết */
.ac-trust { background: var(--background_light); border-bottom: 1px solid var(--border); }
.ac-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ac-trust__grid > div { padding: 22px 18px; border-right: 1px solid var(--border); }
.ac-trust__grid > div:last-child { border-right: 0; }
.ac-trust strong { display: block; color: var(--primary); font-size: 15px; margin-bottom: 4px; }
.ac-trust span { font-size: 13px; color: var(--text_light); line-height: 1.5; }

/* Section */
.ac-sec { padding: 72px 0; position: relative; z-index: 1; }
.ac-sec--cream { background: var(--background_light); }
.ac-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ac-head h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 12px; }
.ac-head p { color: var(--text_light); }

/* 4 bước */
.ac-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ac-step { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 8px; padding: 26px 22px; }
.ac-step span { font: 700 28px 'Playfair Display', Georgia, serif; color: var(--gold); }
.ac-step h3 { margin: 8px 0 8px; font-size: 20px; }
.ac-step p { margin: 0; font-size: 15px; line-height: 1.6; }

/* Danh mục */
.ac-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ac-cat { display: block; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ac-cat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(59,34,16,.12); }
.ac-cat__img { display: block; aspect-ratio: 4/3; background: #F4E4BC url('logo.png') no-repeat center / 40%; }
.ac-cat strong { display: block; padding: 14px 16px; color: var(--secondary); font-size: 16px; }

/* Đồ uống */
.ac-band { background: linear-gradient(135deg, #3B2210, #5A3418); color: #F4E4BC; padding: 72px 0; position: relative; z-index: 1; }
.ac-band h2 { color: #F4E4BC !important; font-size: clamp(26px, 3vw, 38px); }
.ac-band p { color: #E9D9B4; line-height: 1.7; margin-bottom: 24px; }
.ac-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ac-tags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-tags li { border: 1px solid rgba(218,165,32,.45); border-radius: 999px; padding: 12px 18px; text-align: center; color: #F4E4BC; }

/* Bán sỉ */
.ac-wholesale { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.ac-wholesale h2 { font-size: clamp(24px, 2.6vw, 34px); }
.ac-wholesale__cta { display: flex; flex-direction: column; gap: 12px; }
.ac-wholesale__cta .ac-btn { text-align: center; }

/* Bài viết */
.ac-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ac-post { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.ac-post__img { aspect-ratio: 16/10; border-radius: 10px; background: #F4E4BC center / cover; }
.ac-post strong { color: var(--secondary); font-size: 17px; line-height: 1.4; }
.ac-post span:last-child { font-size: 14px; color: var(--text_light); }

/* Trang nội dung */
.page .entry-content > .ac-lead:first-child, .elementor-page .ac-lead { font-size: 19px; }
.aicare-note { background: #FFF7CC; padding: 8px 12px; border-left: 3px solid var(--accent); }

@media (max-width: 960px) {
  .ac-hero__grid, .ac-band__grid, .ac-wholesale { grid-template-columns: 1fr; }
  .ac-hero__art { display: none; }
  .ac-steps, .ac-cats, .ac-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .ac-trust__grid > div:nth-child(2) { border-right: 0; }
  .ac-posts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ac-steps, .ac-cats, .ac-trust__grid, .ac-tags { grid-template-columns: 1fr; }
  .ac-trust__grid > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .ac-sec, .ac-band { padding: 48px 0; }
}

/* Hero mới – nền sáng, ảnh thảo dược bên phải */
.ac-hero2 { position: relative; overflow: hidden; background: #FBF7EC; min-height: 640px; display: flex; align-items: center; z-index: 1; }
.ac-hero2::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(184,134,11,.35); pointer-events: none; z-index: 2; }
.ac-hero2__img { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; background: center right / cover no-repeat; }
.ac-hero2__img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #FBF7EC 0%, rgba(251,247,236,.85) 18%, rgba(251,247,236,0) 45%); }
.ac-hero2, .ac-hero2 * { box-sizing: border-box; }
.ac-hero2__in { position: relative; min-width: 0; z-index: 3; width: 100%; padding-top: 72px; padding-bottom: 64px; }
.ac-hero2__text { max-width: 600px; }
.ac-hero2__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ac-hero2__brand img { width: 88px; height: 88px; min-width: 64px; object-fit: contain; flex: none; }
.ac-hero2__brand .ac-eyebrow { margin: 0; }
.ac-hero2 h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.12; color: var(--secondary) !important; margin: 0 0 20px; }
.ac-hero2 .ac-lead { color: #5A4330; }
.ac-hero2 .ac-btn--line { background: #fff; color: var(--secondary) !important; border-color: #CDBA97; }
.ac-hero2 .ac-btn--line:hover { border-color: var(--accent); background: #fff; }
.ac-hero2__note { font-size: 12px; color: var(--text_light); margin: 14px 0 0; }
.ac-hero2__trust { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 18px; }
.ac-hero2__trust li { border-top: 1px solid #E6D3A3; padding-top: 12px; }
.ac-hero2__trust strong { display: block; font-size: 14px; color: var(--secondary); margin-bottom: 2px; }
.ac-hero2__trust span { font-size: 12.5px; color: var(--text_light); line-height: 1.45; }
@media (max-width: 960px) {
  .ac-hero2 { flex-direction: column; min-height: 0; }
  .ac-hero2__img { position: relative; width: 100%; height: 300px; order: 2; }
  .ac-hero2__img::before { background: linear-gradient(180deg, #FBF7EC 0%, rgba(251,247,236,0) 35%); }
  .ac-hero2__in { padding-top: 48px; padding-bottom: 8px; }
  .ac-hero2__trust { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 18px; }
}
@media (max-width: 560px) {
  .ac-hero2::after { inset: 8px; }
  .ac-hero2__in { padding-left: 24px; padding-right: 24px; }
  .ac-hero2__brand img { width: 72px; height: 72px; }
  .ac-hero2 h1 { font-size: 30px; overflow-wrap: break-word; }
  .ac-hero2 .ac-btns .ac-btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- Trang Mô hình AI Care [aicare_model] ---------- */
.ac-model, .ac-model * { box-sizing: border-box; }
.ac-mhero { background: #FBF7EC; position: relative; z-index: 1; overflow: hidden; }
.ac-mhero::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(184,134,11,.35); pointer-events: none; }
.ac-mhero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.ac-mhero h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.15; color: var(--secondary) !important; margin: 0 0 18px; }
.ac-mhero .ac-lead { color: #5A4330; }
.ac-mhero__img { min-height: 420px; border-radius: 18px; background: center / cover no-repeat; box-shadow: 0 18px 40px rgba(59,34,16,.14); }
.ac-steps--model .ac-step h3, .ac-steps--plain .ac-step h3 { line-height: 1.3; }
.ac-step small { display: block; margin-top: 12px; font-size: 13px; color: var(--text_light); }
.ac-mcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ac-mcards > div { border: 1px solid rgba(218,165,32,.45); border-radius: 14px; padding: 20px; background: rgba(255,255,255,.06); }
.ac-mcards strong { display: block; font-size: 17px; color: #fff; margin-bottom: 6px; }
.ac-mcards span { font-size: 14px; line-height: 1.6; color: #E9D9B4; }
.ac-mcards--light { grid-template-columns: repeat(3, 1fr); }
.ac-mcards--light > div { background: #fff; border-color: var(--border); }
.ac-mcards--light strong { color: var(--secondary); }
.ac-mcards--light span { color: var(--text); }
.ac-mnote { font-size: 13px; color: var(--text_light); }
.ac-mnote--dark { color: #D3C29A; margin: 28px 0 0; }
.ac-mdo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ac-mdo > div { border: 2px solid var(--primary); border-radius: 16px; padding: 26px; background: #fff; }
.ac-mdo__no { border-color: #9E2A22 !important; }
.ac-mdo h2 { font-size: 24px; margin: 0 0 12px; color: var(--primary) !important; }
.ac-mdo__no h2 { color: #9E2A22 !important; }
.ac-mdo ul { margin: 0; padding-left: 20px; line-height: 1.9; }
.ac-mcta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.ac-mcta h2 { margin: 0 0 8px; }
.ac-mcta p { margin: 0; }
.ac-mcta a:not(.ac-btn) { color: #DAA520; }
.ac-btn--light { background: transparent !important; color: #F4E4BC !important; border-color: #F4E4BC !important; }
@media (max-width: 960px) {
  .ac-mhero__in, .ac-mdo { grid-template-columns: 1fr; }
  .ac-mhero__img { min-height: 280px; }
  .ac-mcards--light { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ac-mhero::after { inset: 8px; }
  .ac-mhero__in { padding: 48px 24px; gap: 28px; }
  .ac-mhero h1 { font-size: 30px; }
  .ac-mcards { grid-template-columns: 1fr; }
  .ac-model .ac-btns .ac-btn { flex: 1 1 100%; text-align: center; }
}
