/*
Theme Name: Một Bữa Sáng
Theme URI: https://motbuasang.vn
Author: Vũ Thiên Group
Description: Theme chính thức thương hiệu nhượng quyền Một Bữa Sáng — Tiện một bữa, khỏe cả sáng. Tone vàng/nâu/xanh, tối ưu chuyển đổi lead nhượng quyền.
Version: 1.0
Text Domain: motbuasang
*/

:root{
  --yellow:#F5B800; --yellow-d:#E0A100; --yellow-l:#FFD33D;
  --brown:#4A3424; --brown-s:#6B4E3A; --brown-l:#8A6B52;
  --green:#7AB648; --green-d:#5E9434;
  --orange:#F58220;
  --cream:#FFF9ED; --cream-2:#FFF3D6;
  --white:#fff; --ink:#2c2118; --muted:#8a7c6e;
  --shadow:0 10px 40px rgba(74,52,36,.12);
  --shadow-sm:0 4px 18px rgba(74,52,36,.10);
  --radius:18px; --radius-sm:12px;
  --maxw:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Be Vietnam Pro',-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--white);line-height:1.65;font-size:16px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.section{padding:84px 0}
.section--cream{background:var(--cream)}
h1,h2,h3{font-weight:800;line-height:1.18;color:var(--brown);letter-spacing:-.01em}
h2.sec-title{font-size:clamp(28px,4vw,40px);text-align:center}
.sec-kicker{display:inline-block;color:var(--green-d);font-weight:700;font-size:14px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}
.sec-head{text-align:center;max-width:680px;margin:0 auto 52px}
.sec-head p{color:var(--brown-s);margin-top:14px;font-size:17px}
.btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;border-radius:999px;padding:15px 30px;font-size:16px;cursor:pointer;border:0;transition:.2s;white-space:nowrap}
.btn-primary{background:linear-gradient(135deg,var(--yellow),var(--orange));color:#3a2a18;box-shadow:0 8px 24px rgba(245,130,32,.35)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(245,130,32,.45)}
.btn-ghost{background:#fff;color:var(--brown);border:2px solid var(--cream-2)}
.btn-ghost:hover{border-color:var(--yellow);color:var(--yellow-d)}
.btn-green{background:var(--green);color:#fff;box-shadow:0 8px 22px rgba(122,182,72,.35)}
.btn-green:hover{background:var(--green-d);transform:translateY(-2px)}

/* ===== HEADER ===== */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid #f0e6d2}
.hd-inner{display:flex;align-items:center;justify-content:space-between;height:74px}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:21px;color:var(--brown)}
.brand .logo-sun{width:42px;height:42px;flex:none}
.brand b{color:var(--brown)} .brand .s{color:var(--orange)}
.nav{display:flex;gap:28px;align-items:center}
.nav a{font-weight:600;color:var(--brown-s);font-size:15.5px;transition:.15s}
.nav a:hover{color:var(--orange)}
.hd-cta{display:flex;align-items:center;gap:14px}
.hd-phone{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--green-d);font-size:15px}
.menu-toggle{display:none;background:none;border:0;font-size:26px;color:var(--brown);cursor:pointer}

/* ===== HERO ===== */
.hero{position:relative;background:radial-gradient(900px 500px at 80% -10%,var(--cream-2),transparent),linear-gradient(180deg,var(--cream),#fff);overflow:hidden;padding:70px 0 90px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.hero .tag{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--cream-2);color:var(--green-d);font-weight:700;padding:8px 16px;border-radius:999px;font-size:13.5px;box-shadow:var(--shadow-sm)}
.hero h1{font-size:clamp(34px,5.2vw,56px);margin:20px 0 8px}
.hero h1 .hl{color:var(--orange)}
.hero .lead{font-size:19px;color:var(--brown-s);max-width:540px;margin:18px 0 30px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-stats{display:flex;gap:32px;margin-top:38px;flex-wrap:wrap}
.hero-stats .st b{display:block;font-size:30px;color:var(--brown);font-weight:900}
.hero-stats .st span{font-size:13.5px;color:var(--muted)}
.hero-visual{position:relative;display:flex;justify-content:center}
.hero-card{background:#fff;border-radius:28px;box-shadow:var(--shadow);padding:30px;width:100%;max-width:420px;position:relative;z-index:2}
.hero-card .big-sun{width:120px;height:120px;margin:0 auto 14px}
.hero-card h3{text-align:center;font-size:24px}
.hero-card .price{text-align:center;margin:14px 0}
.hero-card .price b{font-size:40px;color:var(--orange);font-weight:900}
.hero-card .price span{color:var(--muted);font-size:15px}
.hero-card ul{list-style:none;margin-top:10px}
.hero-card li{display:flex;gap:10px;align-items:flex-start;padding:8px 0;color:var(--brown-s);font-size:15px;font-weight:500}
.hero-card li svg{flex:none;margin-top:3px}
.blob{position:absolute;border-radius:50%;filter:blur(8px);opacity:.5;z-index:1}

/* ===== FEATURES ===== */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.card{background:#fff;border:1px solid #f1e8d6;border-radius:var(--radius);padding:30px 24px;text-align:center;transition:.2s}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.card .ic{width:62px;height:62px;border-radius:16px;display:grid;place-items:center;margin:0 auto 16px;font-size:28px;background:var(--cream-2)}
.card h3{font-size:18px;margin-bottom:8px}
.card p{color:var(--brown-s);font-size:14.5px}

/* ===== MENU/PRODUCTS ===== */
.menu-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.dish{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:.2s}
.dish:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.dish .ph{height:150px;display:grid;place-items:center;font-size:56px;background:linear-gradient(135deg,var(--cream-2),#fff)}
.dish .body{padding:16px 18px}
.dish h3{font-size:17px}
.dish p{font-size:13.5px;color:var(--muted);margin-top:4px}

/* ===== FRANCHISE BANNER ===== */
.fr{background:linear-gradient(135deg,var(--brown),#3a2a1c);color:#fff;border-radius:28px;padding:54px;position:relative;overflow:hidden}
.fr h2{color:#fff;font-size:clamp(26px,3.6vw,38px)}
.fr p{color:#f3e2c9;margin-top:14px;font-size:17px;max-width:560px}
.fr .frbtns{margin-top:28px;display:flex;gap:14px;flex-wrap:wrap}
.fr .sun-deco{position:absolute;right:-40px;top:-40px;width:240px;height:240px;opacity:.18}

/* ===== STEPS ===== */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:s}
.step{position:relative;padding:28px 22px;background:var(--cream);border-radius:var(--radius)}
.step::before{counter-increment:s;content:"0" counter(s);font-weight:900;font-size:34px;color:var(--yellow);display:block;margin-bottom:8px}
.step h3{font-size:17px;margin-bottom:6px}
.step p{font-size:14px;color:var(--brown-s)}

/* ===== CTA / CONTACT ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.contact-info .ci{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}
.contact-info .ci .ic{width:46px;height:46px;border-radius:12px;background:var(--cream-2);display:grid;place-items:center;font-size:20px;flex:none}
.contact-info .ci b{display:block;color:var(--brown)} .contact-info .ci span{color:var(--brown-s);font-size:15px}
.lead-form{background:#fff;border:1px solid #f1e8d6;border-radius:var(--radius);padding:32px;box-shadow:var(--shadow)}
.lead-form h3{font-size:22px;margin-bottom:6px}
.lead-form p{color:var(--muted);font-size:14px;margin-bottom:18px}
.lead-form input,.lead-form select{width:100%;padding:14px 16px;border:1.5px solid #ece0c9;border-radius:12px;font-family:inherit;font-size:15px;margin-bottom:12px;background:var(--cream)}
.lead-form input:focus,.lead-form select:focus{outline:none;border-color:var(--yellow)}
.lead-form .btn{width:100%;justify-content:center}

/* ===== FOOTER ===== */
.site-footer{background:#2c1f14;color:#e8d9c4;padding:56px 0 26px}
.ft-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.site-footer .brand{color:#fff;margin-bottom:14px}.site-footer .brand b{color:#fff}
.site-footer p{color:#bda788;font-size:14.5px;max-width:320px}
.ft-col h4{color:#fff;font-size:16px;margin-bottom:14px}
.ft-col a{display:block;color:#bda788;padding:5px 0;font-size:14.5px}
.ft-col a:hover{color:var(--yellow)}
.ft-bottom{border-top:1px solid #4a3826;margin-top:36px;padding-top:20px;text-align:center;color:#9c876c;font-size:13.5px}

/* ===== GENERIC PAGE ===== */
.page-hero{background:var(--cream);padding:60px 0;text-align:center}
.page-body{padding:60px 0;max-width:820px;margin:0 auto}
.page-body h2{margin:28px 0 12px}.page-body p{margin-bottom:14px;color:var(--brown-s)}

/* ===== RESPONSIVE ===== */
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:36px}
  .cards,.menu-grid,.steps{grid-template-columns:repeat(2,1fr)}
  .ft-grid{grid-template-columns:1fr 1fr}
  .contact-grid{grid-template-columns:1fr}
  .fr{padding:38px}
}
@media(max-width:640px){
  .nav,.hd-phone{display:none}
  .menu-toggle{display:block}
  .nav.open{display:flex;position:absolute;top:74px;left:0;right:0;flex-direction:column;background:#fff;padding:18px 24px;gap:14px;box-shadow:var(--shadow);border-bottom:1px solid #f0e6d2}
  .section{padding:60px 0}
  .cards,.menu-grid,.steps,.ft-grid{grid-template-columns:1fr}
  .hero-stats{gap:22px}
}
/* ============================================================
 * MBS Lead Form — feedback states + success card
 * Append to style.css (paste after existing styles)
 * ============================================================ */
.lead-form button[disabled]{opacity:.6;cursor:not-allowed}
.lead-msg{margin:10px 0 0;font-size:14px;min-height:1em}
.lead-msg-err{color:#c92f2f}
.lead-msg-ok{color:#1f7a3a}
.lead-note{margin-top:14px;font-size:12.5px;color:#7a4f2e;opacity:.78;text-align:center}

.lead-success{text-align:center;padding:24px 8px}
.lead-success-ic{font-size:54px;line-height:1;margin-bottom:8px}
.lead-success h3{font-size:22px;margin:6px 0 10px;color:#1f7a3a}
.lead-success p{font-size:15px;color:#3d2613;margin:6px 0}
.lead-success-phone{margin-top:14px !important;font-size:15px;color:#7a4f2e}
.lead-success-phone b{color:#c8501a;font-size:17px}

/* Cảm ơn page — content-area styling */
.thanks-hero{
  background:linear-gradient(135deg,#fff7e3 0%,#ffefcc 100%);
  padding:60px 20px 40px;text-align:center;border-radius:18px;margin:24px auto;max-width:840px
}
.thanks-hero h1{font-size:36px;margin:14px 0 10px;color:#a14010}
.thanks-hero .big-ic{font-size:72px;line-height:1}
.thanks-hero p.lead{font-size:17px;color:#5a3320;max-width:560px;margin:0 auto}
.thanks-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:840px;margin:30px auto;padding:0 20px}
.thanks-steps .ts{background:#fff;border:1px solid #ffe8c2;border-radius:14px;padding:18px;text-align:center}
.thanks-steps .ts .n{font-weight:800;color:#c8501a;font-size:14px;letter-spacing:.5px}
.thanks-steps .ts h4{margin:8px 0 4px;font-size:16px}
.thanks-steps .ts p{font-size:13.5px;color:#7a4f2e;margin:0}
.thanks-cta{max-width:840px;margin:30px auto;padding:24px 20px;background:#fff;border-radius:14px;border:1px dashed #ffc97a}
.thanks-cta h3{margin:0 0 8px;font-size:18px;color:#a14010}
.thanks-cta p{font-size:14px;color:#5a3320;margin:0 0 12px}
.thanks-cta .row{display:flex;flex-wrap:wrap;gap:10px}
.thanks-cta .row a{flex:1;min-width:160px}
@media(max-width:680px){
  .thanks-hero h1{font-size:28px}
  .thanks-steps{grid-template-columns:1fr}
}
/* ============================================================
 * MBS - FAQ accordion + page templates polish
 * ============================================================ */
.faq-list{display:flex;flex-direction:column;gap:10px}
.faq-item{
  background:#fff;border:1px solid #ffe8c2;border-radius:14px;
  padding:0;overflow:hidden;transition:box-shadow .2s
}
.faq-item[open]{box-shadow:0 6px 18px rgba(193,75,16,.08);border-color:#ffc97a}
.faq-item summary{
  list-style:none;cursor:pointer;padding:18px 22px;
  font-weight:600;font-size:16px;color:#3d2613;
  display:flex;align-items:flex-start;gap:14px;line-height:1.5;
  position:relative;padding-right:48px
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);
  font-size:24px;color:#c8501a;font-weight:300;line-height:1;transition:transform .2s
}
.faq-item[open] summary::after{content:"−";transform:translateY(-50%) rotate(0)}
.faq-q-num{
  display:inline-block;background:#fff7e3;color:#c8501a;
  font-weight:800;font-size:13px;padding:4px 9px;border-radius:8px;
  letter-spacing:.5px;flex-shrink:0
}
.faq-a{
  padding:0 22px 20px 56px;font-size:14.5px;line-height:1.7;color:#5a3320
}
@media(max-width:680px){
  .faq-item summary{padding:16px 18px;font-size:15px;gap:10px;padding-right:42px}
  .faq-a{padding:0 18px 18px 42px;font-size:14px}
  .faq-q-num{font-size:12px;padding:3px 7px}
}

/* Default page template — for /lien-he/ /chinh-sach-bao-mat/ */
.page-hero{background:linear-gradient(135deg,#fff7e3 0%,#ffefcc 100%);padding:50px 0 30px;margin-bottom:30px}
.page-hero h1{font-size:34px;color:#a14010;margin:0}
.page-body{max-width:780px;margin:0 auto 60px;padding:0 20px;font-size:15.5px;line-height:1.8;color:#3d2613}
.page-body h2{font-size:24px;color:#a14010;margin-top:30px}
.page-body h3{font-size:18px;margin-top:24px}
.page-body ul, .page-body ol{padding-left:24px}
.page-body a{color:#c8501a;text-decoration:underline}
.page-body p{margin:14px 0}
/* Active nav state for menu items */
.nav a.active{color:#c8501a;font-weight:700}
.nav a.active::after{
  content:"";position:absolute;bottom:-4px;left:0;right:0;
  height:2px;background:#c8501a;border-radius:2px
}
.nav a{position:relative;transition:color .15s}
/* ==========================================================
 * MBS — Page templates redesign (Giới thiệu / Sản phẩm / NQ / Liên hệ)
 * ========================================================== */

/* --- Page Banner (hero với BG image) --- */
.page-banner{
  position:relative;background-size:cover;background-position:center;
  padding:90px 0 70px;color:#fff;text-align:left
}
.page-banner .container{max-width:980px}
.page-banner h1{
  font-size:44px;line-height:1.15;margin:14px 0 14px;color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.35);font-weight:900;letter-spacing:-.5px
}
.page-banner p{font-size:17px;line-height:1.65;color:rgba(255,255,255,.95);max-width:680px;text-shadow:0 1px 8px rgba(0,0,0,.3)}
.tag.tag--light{background:rgba(255,255,255,.18);color:#fff;backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.3)}
.banner-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.btn-ghost-white{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.btn-ghost-white:hover{background:rgba(255,255,255,.15)}
@media(max-width:680px){
  .page-banner{padding:60px 0 50px}
  .page-banner h1{font-size:32px}
  .page-banner p{font-size:15.5px}
}

/* --- Split layout (text + image 2 cols) --- */
.split{
  display:grid;grid-template-columns:1.05fr 1fr;gap:46px;align-items:center;max-width:1100px;margin:0 auto
}
.split--reverse{grid-template-columns:1fr 1.05fr}
.split--reverse .split-text{order:2}
.split--reverse .split-img{order:1}
.split-text h2{font-size:32px;line-height:1.25;color:#a14010;margin:8px 0 14px}
.split-text p{font-size:15.5px;line-height:1.75;color:#5a3320;margin:10px 0}
.split-img img,.split-img iframe{
  width:100%;border-radius:18px;
  box-shadow:0 14px 40px rgba(193,75,16,.18);
  border:1px solid #ffe8c2
}
.split-img img{aspect-ratio:1/1;object-fit:cover}
@media(max-width:840px){
  .split,.split--reverse{grid-template-columns:1fr;gap:30px}
  .split--reverse .split-text{order:1}
  .split--reverse .split-img{order:2}
  .split-text h2{font-size:26px}
}

/* --- Bullets list --- */
.bullets{list-style:none;padding:0;margin:18px 0 0}
.bullets li{
  position:relative;padding:10px 0 10px 28px;
  font-size:15.5px;line-height:1.7;color:#3d2613;
  border-bottom:1px solid #f4ead8
}
.bullets li:last-child{border:0}
.bullets li::before{
  content:"✓";position:absolute;left:0;top:10px;
  width:20px;height:20px;border-radius:50%;
  background:#7AB648;color:#fff;font-size:12px;
  display:flex;align-items:center;justify-content:center;font-weight:700
}

/* --- Timeline --- */
.timeline{
  max-width:840px;margin:0 auto;position:relative;
  padding-left:40px
}
.timeline::before{
  content:"";position:absolute;left:14px;top:8px;bottom:8px;
  width:3px;background:linear-gradient(180deg,#F5B800,#F58220);border-radius:3px
}
.tl-item{position:relative;padding:0 0 32px 22px}
.tl-item::before{
  content:"";position:absolute;left:-32px;top:6px;
  width:18px;height:18px;border-radius:50%;background:#F58220;
  border:3px solid #fff;box-shadow:0 0 0 3px #F5B800
}
.tl-year{
  display:inline-block;background:#fff7e3;color:#c8501a;
  font-weight:800;font-size:13px;padding:5px 12px;border-radius:8px;
  letter-spacing:.5px;margin-bottom:6px
}
.tl-item h4{font-size:18px;color:#a14010;margin:6px 0 6px}
.tl-item p{font-size:14.5px;color:#5a3320;line-height:1.7;margin:0}

/* --- Product grid (Sản phẩm) --- */
.product-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;max-width:1180px;margin:0 auto
}
.product-card{
  background:#fff;border-radius:18px;overflow:hidden;
  box-shadow:0 8px 24px rgba(193,75,16,.08);
  border:1px solid #ffe8c2;
  transition:transform .2s,box-shadow .2s
}
.product-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(193,75,16,.15)}
.product-card img{
  width:100%;aspect-ratio:1/1;object-fit:cover;display:block
}
.pc-body{padding:18px 18px 22px}
.pc-body h3{font-size:18px;color:#3d2613;margin:0 0 6px}
.pc-price{
  font-size:20px;font-weight:800;color:#c8501a;margin-bottom:8px
}
.pc-body p{font-size:14px;color:#5a3320;line-height:1.65;margin:0}

/* --- Extras grid --- */
.extras-grid{
  display:grid;grid-template-columns:1fr 1.1fr;gap:32px;
  max-width:980px;margin:0 auto;align-items:start
}
.extra-item img{width:100%;border-radius:18px;box-shadow:0 8px 24px rgba(193,75,16,.12)}
.extra-list{background:#fff;border-radius:18px;padding:24px;border:1px solid #ffe8c2;box-shadow:0 4px 16px rgba(193,75,16,.06)}
.price-table{width:100%;border-collapse:collapse;font-size:15px}
.price-table th{
  background:#fff7e3;color:#a14010;padding:10px 14px;text-align:left;
  font-weight:800;letter-spacing:.3px;border-radius:8px 8px 0 0
}
.price-table td{padding:10px 14px;border-bottom:1px solid #f4ead8;color:#3d2613}
.price-table td:last-child{text-align:right;color:#c8501a;font-size:15.5px}
.price-table tr:last-child td{border-bottom:0}
@media(max-width:680px){
  .extras-grid{grid-template-columns:1fr;gap:20px}
}

/* --- Package grid (Nhượng quyền) --- */
.package-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:24px;
  max-width:960px;margin:0 auto;align-items:stretch
}
.package{
  background:#fff;border-radius:22px;padding:32px 28px;
  border:2px solid #ffe8c2;display:flex;flex-direction:column;
  position:relative;transition:transform .2s
}
.package:hover{transform:translateY(-4px)}
.package--featured{
  border:2px solid #F58220;
  background:linear-gradient(180deg,#fff7e3 0%,#fff 50%);
  box-shadow:0 16px 40px rgba(245,130,32,.22);transform:scale(1.02)
}
.pkg-badge{
  position:absolute;top:-14px;left:50%;transform:translateX(-50%);
  background:linear-gradient(135deg,#F58220,#BF1E2E);color:#fff;
  font-weight:700;font-size:13px;padding:7px 16px;border-radius:20px;
  box-shadow:0 4px 12px rgba(191,30,46,.3);white-space:nowrap
}
.pkg-head{margin-bottom:12px}
.pkg-name{font-size:22px;font-weight:800;color:#a14010}
.pkg-tag{font-size:13px;color:#7a4f2e;opacity:.85;margin-top:2px}
.pkg-price{margin:14px 0 18px;line-height:1}
.pkg-price b{font-size:42px;color:#c8501a;font-weight:900}
.pkg-price span{font-size:14px;color:#7a4f2e;margin-left:6px}
.pkg-feats{list-style:none;padding:0;margin:0 0 22px;flex:1}
.pkg-feats li{
  padding:9px 0;border-bottom:1px solid #f4ead8;
  font-size:14.5px;color:#3d2613;line-height:1.55
}
.pkg-feats li:last-child{border:0}
.pkg-cta{justify-content:center;width:100%}
@media(max-width:760px){
  .package-grid{grid-template-columns:1fr;gap:30px}
  .package--featured{transform:none}
  .pkg-price b{font-size:36px}
}

/* --- Finance grid --- */
.finance-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:18px;max-width:1080px;margin:0 auto
}
.fin-card{
  background:linear-gradient(180deg,#fff7e3,#fff);
  border:1px solid #ffe8c2;border-radius:16px;
  padding:24px 20px;text-align:center
}
.fin-ic{font-size:36px;line-height:1;margin-bottom:8px}
.fin-val{font-size:24px;font-weight:800;color:#c8501a;margin-bottom:6px;line-height:1.15}
.fin-lbl{font-size:14px;color:#5a3320;line-height:1.55}
.fin-lbl small{display:block;font-size:12.5px;color:#7a4f2e;opacity:.78;margin-top:2px}

/* --- Story grid (case studies) --- */
.story-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;max-width:1180px;margin:0 auto
}
.story-card{
  background:#fff;border-radius:18px;overflow:hidden;
  box-shadow:0 10px 28px rgba(193,75,16,.1);
  border:1px solid #ffe8c2;display:flex;flex-direction:column
}
.story-card img{
  width:100%;aspect-ratio:4/3;object-fit:cover;display:block
}
.story-body{padding:20px 20px 24px}
.story-loc{
  display:inline-block;background:#fff7e3;color:#c8501a;
  font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:6px;
  margin-bottom:10px
}
.story-body h3{font-size:17px;color:#3d2613;margin:0 0 8px;line-height:1.4}
.story-body p{font-size:14px;color:#5a3320;line-height:1.65;margin:0}

/* --- Contact cards (Liên hệ) --- */
.contact-cards{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;max-width:1100px;margin:0 auto
}
.contact-card{
  background:#fff;border-radius:18px;padding:28px 22px;
  border:1px solid #ffe8c2;box-shadow:0 8px 24px rgba(193,75,16,.06);
  text-decoration:none;color:inherit;text-align:center;
  transition:transform .2s,box-shadow .2s;display:block
}
.contact-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(193,75,16,.14)}
.cc-ic{
  width:60px;height:60px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;font-size:30px
}
.contact-card h3{font-size:17px;color:#a14010;margin:0 0 6px}
.cc-val{font-size:17px;font-weight:800;color:#3d2613;margin-bottom:6px;word-break:break-word}
.contact-card p{font-size:13px;color:#7a4f2e;margin:0;line-height:1.55}

/* --- Info block + map --- */
.info-block{background:#fff;border-radius:16px;padding:24px;border:1px solid #ffe8c2}
.info-row{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid #f4ead8;align-items:flex-start}
.info-row:last-child{border:0}
.info-ic{font-size:22px;line-height:1;flex-shrink:0;margin-top:2px}
.info-row b{display:block;font-size:13.5px;color:#a14010;margin-bottom:2px;text-transform:uppercase;letter-spacing:.5px}
.info-row div div{font-size:15px;color:#3d2613;line-height:1.55}
.info-row a{color:#c8501a;text-decoration:none;border-bottom:1px dashed #f5b800}
.map-frame{width:100%;height:340px;border:0}

/* --- Lead form full (Liên hệ page) --- */
.lead-form--full{
  background:#fff;border-radius:18px;padding:30px;
  border:1px solid #ffe8c2;box-shadow:0 8px 24px rgba(193,75,16,.08)
}
.lead-form--full textarea{
  width:100%;padding:12px 14px;border:1.5px solid #f4ead8;
  border-radius:12px;font-family:inherit;font-size:15px;
  resize:vertical;min-height:80px;background:#fff
}
.lead-form--full textarea:focus{outline:none;border-color:#F58220;background:#fff7e3}
.lead-form--full input,
.lead-form--full select{margin-bottom:0}

/* --- Active nav state polish --- */
.nav a.active{color:#c8501a !important;font-weight:700}
/* ==========================================================
 * MBS Polish: justify text + animations + smooth transitions
 * ========================================================== */

/* JUSTIFY TEXT — chuẩn newspaper, hyphens auto */
.section p,
.split-text p,
.story-body p,
.contact-card p,
.lead p,
.thanks-hero p,
.fr p,
.page-banner p,
.pc-body p,
.tl-item p,
.fin-lbl,
.faq-a{
  text-align:justify;
  text-justify:inter-word;
  hyphens:auto;
  -webkit-hyphens:auto;
  word-spacing:.02em
}
/* Không justify text ngắn / centered — fallback */
.sec-head p,
.lead-form p,
.lead-note,
.lead-msg,
.fin-card,
.story-loc,
.cc-val,
.pc-price{text-align:inherit;hyphens:none}

/* CSS scroll-driven fade-in (modern browsers) */
@supports (animation-timeline: view()){
  .reveal{
    opacity:0;transform:translateY(20px);
    animation:reveal-up .7s ease-out forwards;
    animation-timeline:view();
    animation-range:entry 5% cover 25%;
  }
  @keyframes reveal-up{
    from{opacity:0;transform:translateY(24px)}
    to{opacity:1;transform:translateY(0)}
  }
}
/* Fallback cho browser cũ — IntersectionObserver JS handle .reveal class */
.reveal{opacity:1;transform:none}
.reveal--hidden{opacity:0;transform:translateY(24px);transition:opacity .7s ease-out,transform .7s ease-out}
.reveal--show{opacity:1;transform:translateY(0)}

/* HOVER LIFT — cards / packages / contact */
.card,.product-card,.story-card,.contact-card,.fin-card,.package,.dish{
  transition:transform .35s cubic-bezier(.2,.7,.3,1),
             box-shadow .35s cubic-bezier(.2,.7,.3,1),
             border-color .25s ease
}
.card:hover,.fin-card:hover,.dish:hover{
  transform:translateY(-6px);
  border-color:#F58220;
  box-shadow:0 22px 50px rgba(245,130,32,.18)
}

/* BUTTON micro-interactions */
.btn{
  position:relative;overflow:hidden;
  transition:transform .2s,box-shadow .25s,background .2s
}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(193,75,16,.25)}
.btn:active{transform:translateY(0);box-shadow:0 4px 12px rgba(193,75,16,.2)}

/* Smooth banner ken-burns subtle */
.page-banner{
  position:relative;overflow:hidden
}
.page-banner::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:inherit;background-size:cover;background-position:center;
  animation:kenburns 24s ease-in-out infinite alternate
}
@keyframes kenburns{
  from{transform:scale(1)   translate(0,0)}
  to  {transform:scale(1.08) translate(-1%,-1%)}
}
.page-banner .container{position:relative;z-index:2;animation:fadeInUp .9s ease-out both}
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(20px)}
  to  {opacity:1;transform:translateY(0)}
}

/* Section reveal cascade */
.section{position:relative}
.sec-head{animation:fadeInUp .7s ease-out both}

/* Smooth scrolling */
html{scroll-behavior:smooth}

/* Floating sun decoration */
.sun-deco,.big-sun{animation:float 6s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* Link micro-underline */
a.btn{text-decoration:none}
.page-body a,.story-body a{
  background-image:linear-gradient(#F58220,#F58220);
  background-size:0% 2px;
  background-repeat:no-repeat;
  background-position:0 100%;
  transition:background-size .35s ease
}
.page-body a:hover{background-size:100% 2px}

/* Image lazy fade-in */
img[loading="lazy"]{
  opacity:0;transition:opacity .5s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]){opacity:1}

/* Container chuẩn responsive justify lại padding */
.container{padding-left:24px;padding-right:24px}
@media(max-width:680px){
  .container{padding-left:18px;padding-right:18px}
}
/* ==========================================================
 * MBS Fix v2: cam sáng + text-wrap + button không tràn + footer icons
 * Append cuối style.css
 * ========================================================== */

/* === COLOR UPDATE — cam sáng hơn, friendly === */
:root{
  --orange:   #FF8C42;  /* cam sáng, warm */
  --orange-l: #FFB07A;
  --orange-d: #E66E18;  /* cam đậm vừa */
  /* yellow giữ nguyên #F5B800 */
}

/* Hard-coded #F58220 cũ override → cam sáng mới */
.btn-primary{
  background:linear-gradient(135deg,#FFA552,#FF8C42) !important;
  color:#fff !important;border:1px solid transparent
}
.btn-primary:hover{
  background:linear-gradient(135deg,#FF9A3C,#E66E18) !important;
  box-shadow:0 12px 28px rgba(255,140,66,.32) !important
}
.fr{background:linear-gradient(135deg,#FF9A3C 0%,#E66E18 100%) !important}
.pkg-badge{background:linear-gradient(135deg,#FF8C42,#BF1E2E) !important}
.package--featured{
  border-color:#FF8C42 !important;
  box-shadow:0 16px 40px rgba(255,140,66,.22) !important
}

/* === TEXT WRAP — fix orphan word cho headings === */
h1, h2, h3, h4,
.sec-title,
.split-text h2,
.story-body h3,
.tl-item h4,
.pc-body h3,
.pkg-name,
.fin-val,
.page-banner h1{
  text-wrap:balance;
  -webkit-text-wrap:balance
}

/* paragraph dùng pretty để ngăn từ cuối lẻ loi */
p,
.lead,
.bullets li,
.faq-a,
.pkg-feats li,
.cc-val{
  text-wrap:pretty;
  -webkit-text-wrap:pretty
}

/* Tránh text quá dài tràn button */
.btn{
  word-break:keep-all;
  white-space:nowrap;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis
}

/* === FOOTER LIÊN HỆ icons SVG cùng màu === */
.site-footer .ft-col a{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;color:rgba(255,255,255,.82);
  padding:6px 0;transition:color .2s,transform .2s
}
.site-footer .ft-col a:hover{
  color:#FFB07A;transform:translateX(3px)
}
.site-footer .ft-col a svg{
  width:18px;height:18px;
  stroke:currentColor;fill:none;
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  flex-shrink:0
}

/* === TRANG CẢM ƠN — fix email tràn === */
.thanks-cta .row{
  display:flex;flex-wrap:wrap;gap:10px;align-items:stretch
}
.thanks-cta .row a{
  flex:1 1 200px;
  min-width:0;
  text-align:center;
  justify-content:center;
  padding:14px 16px;
  font-size:14.5px
}
.thanks-cta .row a.btn-email{
  font-size:14px
}
@media(max-width:680px){
  .thanks-cta .row a{flex:1 1 100%;font-size:14px}
}

/* === Banner Ken-Burns refined: nhẹ hơn, ko bị crop quá === */
.page-banner{padding:100px 0 80px}
@media(max-width:680px){.page-banner{padding:60px 0 50px}}

/* === Story cards justify-content căn đều === */
.story-body{display:flex;flex-direction:column}
.story-body p{flex:1}

/* === Package features mỗi gói layout đều === */
.package{justify-content:space-between}
.pkg-feats{min-height:280px}
@media(max-width:760px){.pkg-feats{min-height:0}}

/* === Cards / Sections breathing room đồng đều === */
.section{padding:64px 0}
@media(max-width:680px){.section{padding:44px 0}}

/* === Sec-head căn giữa text balance === */
.sec-head h2.sec-title,
.sec-head p{
  max-width:680px;margin-left:auto;margin-right:auto;
  text-wrap:balance
}
.sec-head{text-align:center;margin-bottom:38px}

/* === Cards grid: 4 cards layout đều, không lệch === */
.cards{align-items:stretch}
.cards .card{display:flex;flex-direction:column}
.cards .card p{flex:1}
.cards .card h3{min-height:2.2em}

/* === Story-card "Câu chuyện thực tế" tiêu đề mỗi card ngang nhau === */
.story-card h3{min-height:3em;display:flex;align-items:flex-start}
/* ==========================================================
 * MBS Fix v3: SVG icons + layout unify + contrast fixes
 * ========================================================== */

/* === SVG icon system === */
.mbs-icon{
  display:inline-block;vertical-align:middle;
  flex-shrink:0;line-height:1
}
/* Icon trong tag chip */
.tag .mbs-icon{
  width:16px;height:16px;margin-right:6px;margin-top:-2px
}
/* Icon trong button */
.btn .mbs-icon{
  width:18px;height:18px;margin-right:8px;margin-top:-1px
}
/* Icon trong card decoration (.ic) — phóng to */
.ic{
  display:inline-flex;align-items:center;justify-content:center;
  width:56px;height:56px;border-radius:16px;
  background:linear-gradient(135deg,#FFF7E3,#FFE4C4);
  color:#E66E18;margin-bottom:14px
}
.ic .mbs-icon{width:28px;height:28px}
/* Icon trong sec-kicker chip */
.sec-kicker .mbs-icon{
  width:16px;height:16px;margin-right:6px;margin-top:-2px
}
/* Icon trong story-loc (badge nhỏ) */
.story-loc .mbs-icon{
  width:14px;height:14px;margin-right:4px;margin-top:-2px
}
/* Icon trong info-row */
.info-ic.mbs-icon-wrap{
  width:36px;height:36px;border-radius:10px;
  background:#fff7e3;color:#E66E18;
  display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0
}
.info-ic.mbs-icon-wrap .mbs-icon{width:18px;height:18px}
/* Icon trong contact-card cc-ic — big circle gradient */
.cc-ic{color:#fff}
.cc-ic .mbs-icon{width:28px;height:28px}
/* Icon trong fin-card */
.fin-ic{
  width:54px;height:54px;border-radius:14px;
  background:linear-gradient(135deg,#FFE4C4,#FFB07A);
  color:#fff;display:inline-flex;align-items:center;justify-content:center;
  margin:0 auto 12px
}
.fin-ic .mbs-icon{width:26px;height:26px}
/* Icon trong button banner-cta */
.banner-cta .mbs-icon{width:18px;height:18px;margin-right:8px}
/* Icon prefix trong thanks-cta button */
.thanks-cta .btn .mbs-icon{width:18px;height:18px;margin-right:6px}

/* === LAYOUT UNIFY === */
/* Bỏ override banner container narrow → để = main maxw 1180 */
.page-banner .container{max-width:var(--maxw) !important}
/* Trang con nội dung text: max-width 920 dễ đọc, các grid full 1180 */
.split,
.contact-cards,
.product-grid,
.story-grid,
.cards,
.menu-grid,
.steps,
.finance-grid,
.package-grid,
.extras-grid,
.thanks-steps,
.timeline{max-width:1180px;margin-left:auto;margin-right:auto}

/* === SEC-HEAD chuẩn — heading center max 760, p max 640 === */
.sec-head{text-align:center;max-width:760px;margin:0 auto 44px}
.sec-head h2.sec-title{max-width:680px;margin:8px auto 12px}
.sec-head p{max-width:600px;margin:0 auto}

/* === FIX color sec-kicker bị chìm trên banner cam/.fr === */
/* Section "Cơ hội nhượng quyền" trên `.fr` (cam gradient) — kicker phải sáng */
.fr .sec-kicker,
.fr .tag{
  color:#FFF7E3 !important;
  background:rgba(255,255,255,.16) !important;
  backdrop-filter:blur(4px);
  padding:6px 14px;border-radius:999px;
  letter-spacing:.5px;font-size:13px;font-weight:700;
  border:1px solid rgba(255,255,255,.25);display:inline-block
}
.fr h2{color:#fff !important}
.fr p{color:rgba(255,255,255,.92) !important}

/* === TAG chip trên banner page (đảm bảo contrast cao) === */
.page-banner .tag,
.page-banner .tag.tag--light{
  color:#fff !important;
  background:rgba(255,255,255,.18) !important;
  border:1px solid rgba(255,255,255,.35);
  padding:7px 14px;border-radius:999px;
  letter-spacing:.5px;font-size:13px;font-weight:700;
  display:inline-flex;align-items:center;
  backdrop-filter:blur(6px);
  text-shadow:0 1px 2px rgba(0,0,0,.15)
}

/* === Sec-kicker chuẩn (default - không trên .fr/banner) === */
.section .sec-kicker:not(.fr .sec-kicker){
  color:#E66E18;background:#FFF7E3;
  padding:6px 14px;border-radius:999px;
  font-size:13px;font-weight:700;letter-spacing:.5px;
  display:inline-flex;align-items:center;
  border:1px solid #FFE4C4
}

/* === Container padding consistent === */
.container{padding-left:28px;padding-right:28px}
@media(max-width:980px){.container{padding-left:24px;padding-right:24px}}
@media(max-width:680px){.container{padding-left:18px;padding-right:18px}}

/* === Section spacing nhất quán === */
.section{padding:72px 0}
.section--cream{background:#fff7e3}
@media(max-width:980px){.section{padding:56px 0}}
@media(max-width:680px){.section{padding:40px 0}}

/* === Hero banner heights nhất quán === */
.page-banner{padding:110px 0 90px;min-height:380px;display:flex;align-items:center}
.page-banner .container{position:relative;z-index:2}
@media(max-width:980px){.page-banner{padding:80px 0 70px;min-height:300px}}
@media(max-width:680px){.page-banner{padding:60px 0 50px;min-height:240px}}
.page-banner h1{max-width:760px}
.page-banner p{max-width:620px}

/* === Tag chip styles polished === */
.tag{
  display:inline-flex;align-items:center;gap:6px;
  background:#FFF7E3;color:#E66E18;
  padding:6px 13px;border-radius:999px;
  font-size:13px;font-weight:700;letter-spacing:.5px;
  border:1px solid #FFE4C4;
  margin-bottom:8px
}

/* === Step number chip (4 bước) — bỏ emoji thay number === */
.step{position:relative;padding-left:0}
.step::before{
  content:counter(step);counter-increment:step;
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(135deg,#FFA552,#FF8C42);
  color:#fff;font-weight:800;font-size:18px;
  margin-bottom:14px
}
.steps{counter-reset:step}

/* === FR banner deco padding === */
.fr{padding:56px 48px !important}
@media(max-width:680px){.fr{padding:40px 26px !important}}
.fr h2{font-size:clamp(26px,3.6vw,38px);line-height:1.2;margin:14px 0}
.fr p{font-size:17px;line-height:1.65;max-width:580px}
.fr .frbtns{margin-top:26px}

/* === Hover micro for icon containers === */
.ic,.fin-ic,.info-ic{transition:transform .25s ease,background .25s ease}
.card:hover .ic,
.fin-card:hover .fin-ic{
  transform:scale(1.06) rotate(-3deg);
  background:linear-gradient(135deg,#FFB07A,#FF8C42);
  color:#fff
}

/* === Contact cards cc-ic — đồng nhất với SVG === */
.contact-card .cc-ic{
  background:linear-gradient(135deg,#FFB07A,#FF8C42) !important;
  color:#fff;width:64px;height:64px;border-radius:18px
}
.contact-card:hover .cc-ic{
  transform:scale(1.06);
  box-shadow:0 8px 20px rgba(255,140,66,.35)
}

/* === Disable kenburns trên mobile để tránh giật === */
@media(max-width:680px){.page-banner::before{animation:none}}
/* ==========================================================
 * MBS Fix v4: Container max-width = 1280px (theo trang Sản phẩm)
 * Áp dụng đồng nhất cho mọi page
 * ========================================================== */

/* === Override --maxw lên 1280px === */
:root{ --maxw: 1280px; }

/* Container chính */
.container{ max-width:1280px !important }

/* Page banner full container */
.page-banner .container{ max-width:1280px !important }

/* TẤT CẢ grids đồng nhất 1280 (override v3 = 1180) */
.cards,
.product-grid,
.story-grid,
.package-grid,
.finance-grid,
.contact-cards,
.extras-grid,
.menu-grid,
.steps,
.thanks-steps,
.timeline,
.split,
.split--reverse,
.fr,
.hero-grid,
.contact-grid{
  max-width:1280px !important;
  margin-left:auto;
  margin-right:auto
}

/* Section nội dung text nên hẹp hơn để đọc dễ */
.sec-head{ max-width:780px }
.sec-head h2.sec-title{ max-width:720px }
.sec-head p{ max-width:640px }
.page-banner h1{ max-width:820px }
.page-banner p{ max-width:680px }

/* Form lead trong page liên hệ + cảm ơn */
.lead-form{ max-width:560px }

/* FAQ content reading width */
.faq-list{ max-width:880px;margin-left:auto;margin-right:auto }

/* Container padding chuẩn responsive */
.container{
  padding-left:32px !important;
  padding-right:32px !important
}
@media(max-width:1200px){.container{padding-left:28px !important;padding-right:28px !important}}
@media(max-width:980px){.container{padding-left:24px !important;padding-right:24px !important}}
@media(max-width:680px){.container{padding-left:18px !important;padding-right:18px !important}}

/* Section breathing room nhất quán cho tất cả page */
.section{ padding:80px 0 }
@media(max-width:1200px){.section{padding:64px 0}}
@media(max-width:980px){.section{padding:52px 0}}
@media(max-width:680px){.section{padding:40px 0}}

/* === Inline override cho các page templates có max-width cứng === */
/* page-gioi-thieu.php: <div class="cards" style="max-width:1080px"> */
.section .cards[style*="max-width:1080px"],
.section .cards[style*="max-width:980px"],
.section .cards[style*="max-width:1100px"]{
  max-width:1280px !important
}

/* === Banner height refined cho desktop rộng === */
.page-banner{
  padding:120px 0 100px;
  min-height:420px
}
@media(max-width:1200px){.page-banner{padding:100px 0 80px;min-height:380px}}
@media(max-width:980px){.page-banner{padding:80px 0 64px;min-height:320px}}
@media(max-width:680px){.page-banner{padding:60px 0 48px;min-height:240px}}

/* Hero homepage cũng 1280 */
.hero{ padding:80px 0 60px }
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:50px;
  align-items:center
}
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:36px;text-align:center}
  .hero-card{margin:0 auto}
  .hero-stats{justify-content:center}
}

/* === FR banner padding chuẩn === */
.fr{
  padding:64px 56px !important;
  border-radius:32px
}
@media(max-width:980px){.fr{padding:48px 36px !important;border-radius:24px}}
@media(max-width:680px){.fr{padding:36px 24px !important;border-radius:20px}}

/* Đảm bảo split + grid không tràn ra ngoài container */
.split,.split--reverse{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:56px;
  align-items:center
}
@media(max-width:880px){
  .split,.split--reverse{grid-template-columns:1fr;gap:36px}
}

/* === Cards alignment đều === */
.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px
}
@media(max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.cards{grid-template-columns:1fr}}

/* Product grid (Sản phẩm) — 4 cols ở desktop 1280 thoáng */
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px
}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.product-grid{grid-template-columns:1fr}}

/* Story grid 3 cols ở desktop, 2 ở tablet, 1 ở mobile */
.story-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px
}
@media(max-width:1100px){.story-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.story-grid{grid-template-columns:1fr}}

/* Finance grid 4 cols */
.finance-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px
}
@media(max-width:1100px){.finance-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.finance-grid{grid-template-columns:1fr}}

/* Contact cards 4 cols */
.contact-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px
}
@media(max-width:1100px){.contact-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.contact-cards{grid-template-columns:1fr}}
/* ==========================================================
 * MBS Theme — VÀNG + NÂU (Warm coffee morning vibe)
 * Active khi <html> hoặc <body> có class "theme-brown"
 * ========================================================== */

html.theme-brown,
body.theme-brown{
  --yellow:    #D4A017;   /* warm gold */
  --yellow-l:  #F0C658;
  --orange:    #B07526;   /* cinnamon brown-orange */
  --orange-l:  #D4A06A;
  --orange-d:  #5C3B1E;   /* deep cacao */
  --brown:     #3D2613;
  --brown-s:   #2D1B0E;
  --green:     #7A9B47;
  --green-d:   #5C7A33;
  --cream:     #FFF8EC;
  --cream-d:   #F5E6C8;
}

html.theme-brown body{background:#FFF8EC}

/* ---- Brand wordmark logo span màu nâu thay vì cam ---- */
html.theme-brown .brand .s{color:#8B5A2B !important}
html.theme-brown .brand b{color:#3D2613}

/* ---- Button primary: gold → brown gradient ---- */
html.theme-brown .btn-primary{
  background:linear-gradient(135deg,#E0B82F,#8B5A2B) !important;
  color:#fff !important;border:1px solid transparent
}
html.theme-brown .btn-primary:hover{
  background:linear-gradient(135deg,#D4A017,#5C3B1E) !important;
  box-shadow:0 12px 28px rgba(139,90,43,.32) !important
}
html.theme-brown .btn-ghost{border-color:#D4A017;color:#5C3B1E}
html.theme-brown .btn-ghost:hover{background:#FDF6E3}
html.theme-brown .btn-green{
  background:linear-gradient(135deg,#A8C46C,#7A9B47) !important
}

/* ---- FR banner (Cơ hội nhượng quyền, CTA banner) ---- */
html.theme-brown .fr{
  background:linear-gradient(135deg,#5C3B1E 0%,#2D1B0E 100%) !important
}
html.theme-brown .fr h2{color:#FDF6E3 !important}
html.theme-brown .fr p{color:#F0DCA8 !important}
html.theme-brown .fr .sec-kicker,
html.theme-brown .fr .tag{
  color:#F0C658 !important;
  background:rgba(255,255,255,.1) !important;
  border-color:rgba(240,198,88,.4)
}

/* ---- Sec-kicker chip default (không trên .fr) ---- */
html.theme-brown .section .sec-kicker:not(.fr .sec-kicker){
  color:#8B5A2B !important;
  background:#FDF6E3 !important;
  border-color:#F0DCA8 !important
}

/* ---- Tag chip default ---- */
html.theme-brown .tag{
  color:#8B5A2B;
  background:#FDF6E3;
  border-color:#F0DCA8
}

/* ---- Page banner overlay (brown wash instead of orange) ---- */
html.theme-brown .page-banner{
  background-blend-mode:multiply
}
html.theme-brown .page-banner::before{
  background-color:rgba(45,27,14,.15)
}

/* ---- Headings nâu đậm ---- */
html.theme-brown h1,
html.theme-brown h2,
html.theme-brown h3,
html.theme-brown .split-text h2,
html.theme-brown .sec-title,
html.theme-brown .tl-item h4,
html.theme-brown .story-body h3,
html.theme-brown .pkg-name,
html.theme-brown .pc-body h3{color:#3D2613}
html.theme-brown .fin-val,
html.theme-brown .pc-price{color:#8B5A2B}
html.theme-brown .pkg-price b{color:#5C3B1E}

/* ---- Pkg-badge gold ---- */
html.theme-brown .pkg-badge{
  background:linear-gradient(135deg,#D4A017,#5C3B1E) !important;
  box-shadow:0 4px 12px rgba(92,59,30,.3)
}
html.theme-brown .package--featured{
  border-color:#D4A017 !important;
  box-shadow:0 16px 40px rgba(212,160,23,.18) !important;
  background:linear-gradient(180deg,#FDF6E3 0%,#fff 50%)
}

/* ---- Card hover gold ---- */
html.theme-brown .card:hover,
html.theme-brown .fin-card:hover,
html.theme-brown .product-card:hover,
html.theme-brown .story-card:hover,
html.theme-brown .contact-card:hover{
  border-color:#D4A017 !important;
  box-shadow:0 22px 50px rgba(212,160,23,.16) !important
}
html.theme-brown .card:hover .ic,
html.theme-brown .fin-card:hover .fin-ic{
  background:linear-gradient(135deg,#D4A017,#8B5A2B) !important;
  color:#fff
}

/* ---- Icon containers ---- */
html.theme-brown .ic{
  background:linear-gradient(135deg,#FDF6E3,#F0DCA8) !important;
  color:#8B5A2B !important
}
html.theme-brown .fin-ic{
  background:linear-gradient(135deg,#F0DCA8,#D4A017) !important;
  color:#fff
}
html.theme-brown .contact-card .cc-ic{
  background:linear-gradient(135deg,#D4A017,#5C3B1E) !important
}
html.theme-brown .info-ic.mbs-icon-wrap{
  background:#FDF6E3 !important;
  color:#8B5A2B !important
}

/* ---- Navigation ---- */
html.theme-brown .nav a.active{color:#8B5A2B !important}
html.theme-brown .nav a.active::after{background:#D4A017}
html.theme-brown .hd-phone{color:#5C3B1E}
html.theme-brown .hd-phone a{color:#8B5A2B}

/* ---- Story location badge ---- */
html.theme-brown .story-loc{
  color:#8B5A2B;
  background:#FDF6E3
}

/* ---- Bullets / steps ---- */
html.theme-brown .bullets li::before{background:#7A9B47}
html.theme-brown .step::before{
  background:linear-gradient(135deg,#D4A017,#8B5A2B)
}

/* ---- Timeline ---- */
html.theme-brown .timeline::before{
  background:linear-gradient(180deg,#D4A017,#8B5A2B)
}
html.theme-brown .tl-item::before{
  background:#8B5A2B;
  box-shadow:0 0 0 3px #D4A017
}
html.theme-brown .tl-year{
  color:#8B5A2B;
  background:#FDF6E3
}

/* ---- FAQ accordion ---- */
html.theme-brown .faq-item[open]{
  border-color:#D4A017;
  box-shadow:0 6px 18px rgba(212,160,23,.1)
}
html.theme-brown .faq-item summary::after{color:#8B5A2B}
html.theme-brown .faq-q-num{
  color:#8B5A2B;
  background:#FDF6E3
}

/* ---- Price table ---- */
html.theme-brown .price-table th{
  background:#FDF6E3;
  color:#5C3B1E
}
html.theme-brown .price-table td:last-child{color:#8B5A2B}

/* ---- Form focus ---- */
html.theme-brown input:focus,
html.theme-brown select:focus,
html.theme-brown textarea:focus{
  border-color:#D4A017 !important;
  background:#FFF8EC !important
}
html.theme-brown .lead-success h3{color:#7A9B47}
html.theme-brown .lead-success-phone b{color:#8B5A2B}
html.theme-brown .lead-form{border-color:#F0DCA8}

/* ---- Thanks page CTA cross-sell ---- */
html.theme-brown .thanks-cta[style*="ffd9a3"],
html.theme-brown .thanks-cta[style*="ffb14a"]{
  background:linear-gradient(135deg,#FDF6E3,#F0DCA8) !important;
  border-color:#D4A017 !important
}
html.theme-brown .thanks-cta h3{color:#5C3B1E}

/* ---- Footer ---- */
html.theme-brown .site-footer{
  background:#2D1B0E !important
}
html.theme-brown .site-footer .ft-col a:hover{
  color:#F0C658 !important
}

/* ---- Hero stats ---- */
html.theme-brown .hero-stats .st b{color:#8B5A2B}

/* ---- Hero card price ---- */
html.theme-brown .hero-card .price b{color:#5C3B1E}

/* ---- Link underline animation ---- */
html.theme-brown .page-body a{
  background-image:linear-gradient(#8B5A2B,#8B5A2B)
}

/* ==========================================================
 * THEME SWITCHER FLOATING BUTTON
 * Hiển thị ở góc dưới phải, fixed, click toggle theme
 * ========================================================== */
.mbs-theme-switch{
  position:fixed;bottom:24px;right:24px;
  background:#fff;border-radius:999px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  display:flex;gap:4px;padding:6px;
  z-index:9999;font-family:inherit;
  border:1px solid rgba(0,0,0,.06)
}
.mbs-theme-switch button{
  background:transparent;border:0;cursor:pointer;
  width:42px;height:42px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;color:#7a4f2e;
  transition:background .25s,color .25s,transform .15s
}
.mbs-theme-switch button:hover{background:#fff7e3;transform:scale(1.05)}
.mbs-theme-switch button.active{
  background:linear-gradient(135deg,#FFA552,#FF8C42);
  color:#fff;
  box-shadow:0 4px 10px rgba(255,140,66,.35)
}
html.theme-brown .mbs-theme-switch button.active{
  background:linear-gradient(135deg,#D4A017,#5C3B1E);
  box-shadow:0 4px 10px rgba(92,59,30,.35)
}
.mbs-theme-switch button svg{width:20px;height:20px}
.mbs-theme-switch-label{
  position:absolute;bottom:calc(100% + 8px);right:0;
  background:#3d2613;color:#fff;
  padding:6px 12px;border-radius:8px;
  font-size:12px;white-space:nowrap;
  opacity:0;pointer-events:none;
  transition:opacity .25s,transform .25s;
  transform:translateY(4px)
}
.mbs-theme-switch:hover .mbs-theme-switch-label{
  opacity:1;transform:translateY(0)
}
@media(max-width:680px){
  .mbs-theme-switch{bottom:16px;right:16px;padding:4px}
  .mbs-theme-switch button{width:38px;height:38px}
}
/* ==========================================================
 * MBS Blog styling — single + archive
 * ========================================================== */

/* ---- Breadcrumb ---- */
.blog-crumb{
  margin-bottom:14px;font-size:13.5px;color:rgba(255,255,255,.85);
  display:flex;flex-wrap:wrap;gap:6px;align-items:center
}
.blog-crumb a{color:rgba(255,255,255,.9);text-decoration:none;border-bottom:1px dotted rgba(255,255,255,.4)}
.blog-crumb a:hover{color:#fff;border-color:#fff}
.blog-crumb span{opacity:.7}

/* ---- Blog meta (single banner) ---- */
.blog-meta{
  display:flex;flex-wrap:wrap;gap:18px;
  margin-top:16px;color:rgba(255,255,255,.92);font-size:14px
}
.blog-meta span{display:inline-flex;align-items:center;gap:6px}

/* ---- Single blog layout ---- */
.blog-layout{
  display:grid;grid-template-columns:1fr 320px;gap:50px;
  align-items:start
}
@media(max-width:980px){
  .blog-layout{grid-template-columns:1fr;gap:32px}
}

.blog-content{
  background:#fff;border-radius:18px;padding:40px;
  border:1px solid #ffe8c2;
  box-shadow:0 8px 24px rgba(193,75,16,.06)
}
@media(max-width:680px){.blog-content{padding:24px 20px;border-radius:14px}}

.blog-excerpt{
  font-size:18px;line-height:1.65;color:#5a3320;
  padding:16px 22px;background:#fff7e3;border-left:4px solid #FF8C42;
  border-radius:8px;margin-bottom:32px;font-style:italic
}

.blog-body{
  font-size:16px;line-height:1.85;color:#3d2613
}
.blog-body h2{
  font-size:26px;color:#a14010;margin:36px 0 16px;
  padding-bottom:10px;border-bottom:2px solid #FFE4C4
}
.blog-body h3{
  font-size:21px;color:#3D2613;margin:28px 0 14px
}
.blog-body h4{font-size:18px;color:#5a3320;margin:22px 0 10px}
.blog-body p{margin:14px 0;text-align:justify;hyphens:auto}
.blog-body a{color:#C8501A;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.blog-body a:hover{color:#E66E18}
.blog-body ul, .blog-body ol{padding-left:28px;margin:16px 0}
.blog-body li{margin:8px 0;line-height:1.75}
.blog-body blockquote{
  border-left:4px solid #FF8C42;background:#fff7e3;
  padding:16px 24px;margin:24px 0;font-style:italic;color:#5a3320;border-radius:8px
}
.blog-body img{
  max-width:100%;height:auto;border-radius:14px;margin:24px 0;
  box-shadow:0 8px 24px rgba(193,75,16,.1)
}
.blog-body table{
  width:100%;border-collapse:collapse;margin:24px 0;
  font-size:14.5px;border-radius:10px;overflow:hidden
}
.blog-body table th{
  background:#FFF7E3;color:#a14010;padding:12px 16px;text-align:left;
  font-weight:800;border-bottom:2px solid #FFE4C4
}
.blog-body table td{padding:12px 16px;border-bottom:1px solid #f4ead8;color:#3d2613}
.blog-body table tr:hover{background:#fffaf0}

/* ---- Tags + share ---- */
.blog-tags{
  margin-top:32px;padding-top:22px;border-top:1px solid #f4ead8;
  display:flex;flex-wrap:wrap;gap:10px;align-items:center
}
.blog-tags span{font-size:14px;color:#7a4f2e;font-weight:600}
.blog-tags a{
  background:#fff7e3;color:#E66E18;padding:5px 12px;border-radius:999px;
  font-size:13px;font-weight:600;text-decoration:none;border:1px solid #FFE4C4
}
.blog-tags a:hover{background:#FF8C42;color:#fff;border-color:#FF8C42}

/* ---- CTA cuối bài ---- */
.blog-cta-end{
  margin-top:36px;padding:32px 28px;border-radius:18px;
  background:linear-gradient(135deg,#fff7e3,#FFE4C4);
  text-align:center;border:2px dashed #FF8C42
}
.blog-cta-end .cta-icon{
  display:inline-flex;width:64px;height:64px;border-radius:18px;
  background:linear-gradient(135deg,#FFA552,#FF8C42);color:#fff;
  align-items:center;justify-content:center;margin-bottom:12px
}
.blog-cta-end h3{font-size:22px;color:#a14010;margin:8px 0 10px}
.blog-cta-end p{color:#5a3320;margin-bottom:20px;font-size:15px}
.blog-cta-end .cta-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ---- Sidebar ---- */
.blog-sidebar{
  position:sticky;top:90px;display:flex;flex-direction:column;gap:20px
}
@media(max-width:980px){.blog-sidebar{position:static}}

.sb-block{
  background:#fff;border-radius:14px;padding:22px;
  border:1px solid #ffe8c2;
  box-shadow:0 4px 16px rgba(193,75,16,.05)
}
.sb-block h4{
  font-size:15px;color:#a14010;margin:0 0 14px;
  padding-bottom:8px;border-bottom:2px solid #FFE4C4;
  font-weight:800;letter-spacing:.3px
}

.sb-author{text-align:center}
.sb-author .sb-sun{width:64px;height:64px;margin:0 auto 8px}
.sb-author p{font-size:13.5px;color:#5a3320;margin:8px 0 14px;line-height:1.6}

.sb-post{
  display:flex;gap:12px;padding:10px 0;
  border-bottom:1px solid #f4ead8;text-decoration:none;color:inherit;
  transition:background .2s;border-radius:8px;padding:10px
}
.sb-post:last-child{border-bottom:0}
.sb-post:hover{background:#fff7e3}
.sb-post img{
  width:72px;height:72px;object-fit:cover;border-radius:10px;flex-shrink:0
}
.sb-post-text h5{
  font-size:14px;color:#3d2613;margin:0 0 4px;line-height:1.4;
  font-weight:700
}
.sb-post-date{font-size:12px;color:#7a4f2e}

.sb-cta{
  background:linear-gradient(135deg,#FFF7E3,#FFE4C4);border-color:#FF8C42
}
.sb-cta p{font-size:13.5px;color:#5a3320;margin:0 0 14px;line-height:1.55}
.btn-block{width:100%;justify-content:center;display:inline-flex !important}
.btn-sm{padding:8px 16px;font-size:13.5px}

/* ---- Archive grid ---- */
.blog-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:24px;margin-bottom:40px
}
@media(max-width:980px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.blog-grid{grid-template-columns:1fr}}

.blog-card{
  background:#fff;border-radius:16px;overflow:hidden;
  border:1px solid #ffe8c2;
  box-shadow:0 6px 18px rgba(193,75,16,.06);
  transition:transform .3s,box-shadow .3s,border-color .3s;
  display:flex;flex-direction:column
}
.blog-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(193,75,16,.14);
  border-color:#FF8C42
}
.bc-img{display:block;overflow:hidden;aspect-ratio:16/10}
.bc-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.blog-card:hover .bc-img img{transform:scale(1.06)}
.bc-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.bc-cat{
  display:inline-block;font-size:12px;color:#E66E18;
  text-transform:uppercase;letter-spacing:.5px;font-weight:800;
  text-decoration:none;background:#fff7e3;padding:3px 10px;
  border-radius:999px;border:1px solid #FFE4C4;margin-bottom:10px;
  align-self:flex-start
}
.bc-cat:hover{background:#FF8C42;color:#fff;border-color:#FF8C42}
.bc-body h3{
  font-size:18px;line-height:1.35;margin:0 0 10px;font-weight:800
}
.bc-body h3 a{color:#3d2613;text-decoration:none}
.bc-body h3 a:hover{color:#C8501A}
.bc-excerpt{
  font-size:14px;color:#5a3320;line-height:1.65;
  flex:1;margin:0 0 16px
}
.bc-meta{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:12px;border-top:1px solid #f4ead8;
  font-size:13px;color:#7a4f2e
}
.bc-meta span{display:inline-flex;align-items:center;gap:4px}
.bc-readmore{
  color:#E66E18;text-decoration:none;font-weight:700;
  display:inline-flex;align-items:center;gap:4px
}
.bc-readmore:hover{color:#C8501A}

/* ---- Pagination ---- */
.blog-pagination{
  display:flex;gap:6px;justify-content:center;
  margin-top:20px;flex-wrap:wrap
}
.blog-pagination a, .blog-pagination span{
  padding:8px 14px;border-radius:8px;
  text-decoration:none;color:#5a3320;font-weight:700;
  background:#fff;border:1px solid #ffe8c2;
  transition:all .2s
}
.blog-pagination a:hover{background:#FF8C42;color:#fff;border-color:#FF8C42}
.blog-pagination .current{
  background:#FF8C42;color:#fff;border-color:#FF8C42
}
.blog-pagination .dots{border:0;background:transparent}

/* ---- Empty state ---- */
.blog-empty{
  text-align:center;padding:60px 20px;color:#7a4f2e
}
.blog-empty .mbs-icon{color:#FFB07A;margin-bottom:14px}
.blog-empty h3{font-size:22px;color:#a14010;margin:8px 0 10px}
.blog-empty p{margin-bottom:20px;font-size:15px}

/* ---- Brown theme override for blog ---- */
html.theme-brown .blog-body a{color:#8B5A2B}
html.theme-brown .blog-body h2{color:#5C3B1E;border-bottom-color:#F0DCA8}
html.theme-brown .blog-body blockquote{border-left-color:#D4A017;background:#FDF6E3}
html.theme-brown .blog-tags a{color:#8B5A2B;background:#FDF6E3;border-color:#F0DCA8}
html.theme-brown .blog-tags a:hover{background:#D4A017;color:#fff}
html.theme-brown .blog-cta-end{
  background:linear-gradient(135deg,#FDF6E3,#F0DCA8);border-color:#D4A017
}
html.theme-brown .blog-cta-end h3{color:#5C3B1E}
html.theme-brown .blog-cta-end .cta-icon{background:linear-gradient(135deg,#D4A017,#8B5A2B)}
html.theme-brown .bc-cat{color:#8B5A2B;background:#FDF6E3;border-color:#F0DCA8}
html.theme-brown .bc-cat:hover{background:#D4A017;color:#fff}
html.theme-brown .bc-readmore{color:#8B5A2B}
html.theme-brown .blog-card:hover{border-color:#D4A017}
html.theme-brown .blog-pagination a:hover,
html.theme-brown .blog-pagination .current{background:#8B5A2B;border-color:#8B5A2B}
html.theme-brown .blog-excerpt{background:#FDF6E3;border-left-color:#D4A017}
html.theme-brown .blog-body table th{background:#FDF6E3;color:#5C3B1E;border-bottom-color:#F0DCA8}
/* ==========================================================
 * MBS Blog inline figure + caption styling
 * Cho <figure class="post-figure"> với <img> + <figcaption>
 * ========================================================== */

.blog-body figure.post-figure{
  margin:32px 0;
  text-align:center
}
.blog-body figure.post-figure img{
  max-width:100%;
  height:auto;
  border-radius:16px;
  box-shadow:0 12px 32px rgba(193,75,16,.12);
  display:block;
  margin:0 auto;
  transition:transform .4s cubic-bezier(.2,.7,.3,1);
  border:1px solid #ffe8c2
}
.blog-body figure.post-figure:hover img{
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(193,75,16,.18)
}
.blog-body figure.post-figure figcaption{
  margin-top:12px;
  font-size:14px;
  color:#7a4f2e;
  font-style:italic;
  line-height:1.55;
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
  padding:0 16px
}
@media(max-width:680px){
  .blog-body figure.post-figure{margin:24px 0}
  .blog-body figure.post-figure figcaption{font-size:13px}
}

/* Brown theme override */
html.theme-brown .blog-body figure.post-figure img{
  border-color:#F0DCA8;
  box-shadow:0 12px 32px rgba(139,90,43,.12)
}
html.theme-brown .blog-body figure.post-figure:hover img{
  box-shadow:0 18px 42px rgba(139,90,43,.18)
}
html.theme-brown .blog-body figure.post-figure figcaption{
  color:#8B5A2B
}
