/* AK Farm — giao diện chung. Màu lấy từ logo: xanh rêu + vàng be. */
:root {
  --olive: #6b7748;
  --olive-700: #545e36;
  --olive-900: #39412a;
  --sand: #c9b48c;
  --gold: #a9853f;
  --gold-soft: #e9d9b4;
  --cream: #fbf5e8;
  --cream-2: #f6ead0;
  --paper: #fffdf8;
  --ink: #2f2c24;
  --muted: #6c6658;
  --line: #e8dcc2;
  --zalo: #0068ff;
  --call: #d6402f;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(57, 65, 42, .12);
  --shadow-sm: 0 4px 14px rgba(57, 65, 42, .10);
  --font-head: 'Andada Pro', Georgia, 'Times New Roman', serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-700); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--olive-900); margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
svg.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--olive); color: #fff; }
.btn-primary:hover { background: var(--olive-700); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #8f6f31; }
.btn-outline { border-color: var(--olive); color: var(--olive-700); background: transparent; }
.btn-outline:hover { background: var(--olive); color: #fff; }
.btn-white { background: #fff; color: var(--olive-900); }
.btn-white:hover { background: var(--cream); }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-zalo:hover { background: #0052cc; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Đầu trang ---------- */
.topbar { background: var(--cream); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--olive-900); min-width: 0; }
.brand img { width: 66px; height: 66px; mix-blend-mode: multiply; }
.brand-name { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: .14em; line-height: 1; display: block; }
.brand-sub { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .03em; margin-top: 6px; }
.top-cta { display: flex; align-items: center; gap: 14px; }
.hotline { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.hotline .bubble { width: 42px; height: 42px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; }
.hotline small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.hotline b { font-size: 19px; color: var(--olive-900); letter-spacing: .02em; }

.nav { background: var(--olive); position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 12px rgba(0, 0, 0, .10); }
.nav .container { display: flex; align-items: center; justify-content: center; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.menu > li > a { display: flex; align-items: center; gap: 4px; padding: 15px 15px; color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; }
.menu > li > a:hover, .menu > li > a.active { background: rgba(255, 255, 255, .14); }
.menu > li > a.active { box-shadow: inset 0 -3px 0 var(--gold-soft); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px 0; background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--shadow); display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub a { display: block; padding: 10px 18px; color: var(--ink); text-decoration: none; font-size: 15px; }
.sub a:hover { background: var(--cream); color: var(--olive-900); }
@media (max-width: 1120px) and (min-width: 961px) {
  .menu > li > a { padding: 15px 10px; font-size: 14.5px; }
}
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 0; color: #fff; font: 600 16px var(--font-body); padding: 13px 0; cursor: pointer; }
.nav-call { display: none; }

@media (max-width: 960px) {
  .top-cta .btn { display: none; }
  .nav .container { justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .nav-call { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; flex-wrap: nowrap; background: var(--olive-700); padding: 6px 0 14px; max-height: calc(100vh - 120px); overflow: auto; }
  .menu.open { display: flex; }
  .menu > li > a { padding: 12px 20px; }
  .sub { position: static; display: block; background: transparent; box-shadow: none; padding: 0 0 4px 16px; min-width: 0; }
  .sub a { color: rgba(255, 255, 255, .88); padding: 8px 20px; }
  .sub a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
}
@media (max-width: 600px) {
  .hotline { display: none; }
  .brand img { width: 54px; height: 54px; }
  .brand-name { font-size: 23px; }
  .brand-sub { font-size: 11.5px; }
}

/* ---------- Banner trượt ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.slides { position: relative; height: clamp(460px, 44vw, 620px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.on { opacity: 1; visibility: visible; }
.slide > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(251, 245, 232, .97) 0%, rgba(251, 245, 232, .9) 36%, rgba(251, 245, 232, 0) 64%);
}
.slide-text { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); left: max(16px, calc((100% - 1200px) / 2)); width: min(540px, 100% - 32px); }
.script { font-family: var(--font-script); font-weight: 600; color: var(--gold); font-size: 30px; line-height: 1.2; display: block; }
.slide-title { font-size: clamp(32px, 4vw, 54px); margin: 6px 0 14px; }
.slide-text p { font-size: 17px; }
.price-pill { display: inline-flex; align-items: baseline; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; margin-bottom: 18px; font-size: 15px; box-shadow: var(--shadow-sm); }
.price-pill b { font-size: 22px; color: var(--gold); font-family: var(--font-head); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li > svg { color: var(--olive); margin-top: 5px; }
.dots { position: absolute; z-index: 3; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 99px; background: rgba(57, 65, 42, .28); cursor: pointer; transition: width .3s, background .3s; }
.dots button.on { width: 30px; background: var(--olive); }
.arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--olive-900); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.arrow:hover { background: #fff; }
.arrow.prev { left: 14px; }
.arrow.next { right: 14px; }
@media (max-width: 1320px) { .arrow { display: none; } }
@media (max-width: 760px) {
  .slides { height: 700px; }
  .slide > img { object-position: var(--pos-m, var(--pos, center)); height: 300px; }
  .slide::after { background: linear-gradient(180deg, rgba(251, 245, 232, 0) 0, rgba(251, 245, 232, 0) 230px, var(--cream) 300px, var(--cream) 100%); }
  .slide-text { top: 286px; transform: none; }
  .script { font-size: 25px; }
  .slide-title { font-size: 30px; margin-bottom: 10px; }
  .slide-text p { font-size: 15.5px; margin-bottom: 12px; }
  .ticks { display: none; }
  .arrow { display: none; }
}

/* ---------- Khối nội dung ---------- */
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.bg-cream { background: var(--cream); }
.sec-title {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  text-align: center; font-size: clamp(26px, 3vw, 36px); color: var(--olive-700); margin: 0 0 14px;
}
.sec-title::before, .sec-title::after { content: ""; flex: 1; max-width: 300px; height: 7px; border-top: 2px solid var(--sand); border-bottom: 1px solid var(--sand); }
.sec-title .paw { color: var(--sand); width: 28px; height: 28px; }
.sec-lead { text-align: center; max-width: 760px; margin: 0 auto 40px; color: var(--muted); font-size: 17px; }
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .sec-title::before, .sec-title::after { display: none; }
  .sec-title .paw { display: none; }
}

.card-cream { background: var(--cream-2); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid #efdfbd; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split.wide-right { grid-template-columns: 5fr 7fr; }
.split.wide-left { grid-template-columns: 7fr 5fr; }
.split > .media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.media.tilt img { transform: rotate(-1.5deg); border: 8px solid #fff; }
@media (max-width: 860px) {
  .split, .split.wide-right, .split.wide-left { grid-template-columns: 1fr; gap: 24px; }
  .split .media { order: -1; }
  .card-cream { padding: 24px; }
}
.list-check { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.list-check li { display: flex; gap: 10px; }
.list-check li > svg { color: var(--olive); margin-top: 5px; }

/* Hai dịch vụ chủ lực */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { display: grid; grid-template-columns: 42% 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(57, 65, 42, .18); }
.pillar img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.pillar .body { padding: 22px 22px 20px; display: flex; flex-direction: column; }
.pillar .kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 600; }
.pillar h3 { font-size: 24px; margin: 4px 0 8px; }
.pillar p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.pillar .from { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.pillar .from b { color: var(--olive-900); font-size: 18px; font-family: var(--font-head); }
.pillar .go { width: 38px; height: 38px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; flex: none; }
.mini-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.mini-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; }
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pillar { grid-template-columns: 1fr; }
  .pillar img { height: 200px; min-height: 0; }
}

/* Lợi ích dạng ô biểu tượng */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.features.f3 { grid-template-columns: repeat(3, 1fr); }
.features.f4 { grid-template-columns: repeat(4, 1fr); }
.features.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .features.f3, .features.f4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features.f3, .features.f4, .features.two { grid-template-columns: 1fr; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.feature .ic-wrap { width: 50px; height: 50px; border-radius: 14px; background: var(--cream-2); color: var(--olive-700); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ic-wrap svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* Bảng giá */
.price-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table.price { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.price-wrap.wide table.price { min-width: 620px; }
table.price caption { caption-side: top; text-align: left; padding: 16px 18px 6px; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--olive-900); }
table.price th, table.price td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.price thead th { background: var(--olive); color: #fff; font-weight: 600; font-size: 14.5px; }
table.price tbody tr:nth-child(even) > * { background: #fcf8ef; }
table.price td.num, table.price th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.price tbody tr:last-child td { border-bottom: 0; }
.price-note { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 600px) {
  table.price { font-size: 14px; }
  table.price th, table.price td { padding: 10px 8px; }
  table.price caption { padding: 14px 12px 6px; font-size: 17px; }
  table.price thead th, table.price thead th.num { font-size: 12.5px; line-height: 1.35; white-space: normal; }
  .price-wrap.wide table.price { min-width: 0; font-size: 12.5px; }
  .price-wrap.wide table.price th, .price-wrap.wide table.price td { padding: 9px 6px; }
  .price-wrap.wide table.price tbody th { white-space: nowrap; }
}
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.box h4 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.box h4 svg { color: var(--gold); }
.box ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.box ul li { margin: 3px 0; }

/* Giống chó */
.breed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.breed { text-decoration: none; color: var(--ink); text-align: center; }
.breed .ph { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 1; }
.breed img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.breed:hover img { transform: scale(1.05); }
.breed h3 { font-size: 20px; margin: 14px 0 2px; }
.breed p { font-size: 14.5px; color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14.5px; color: var(--olive-900); }
@media (max-width: 760px) { .breed-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .breed h3 { font-size: 17px; } }

/* Cún sẵn sàng về nhà mới */
.band-olive { background: var(--olive); color: #fff; position: relative; }
.band-olive .sec-title { color: #fff; }
.band-olive .sec-title::before, .band-olive .sec-title::after { border-color: rgba(255, 255, 255, .55); }
.band-olive .sec-title .paw { color: rgba(255, 255, 255, .7); }
.band-olive .sec-lead { color: rgba(255, 255, 255, .85); }
.pet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1060px; margin-inline: auto; }
.pet { background: #fff; color: var(--ink); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.pet.vip { grid-column: span 2; flex-direction: row; }
.pet.vip .ph { flex: 0 0 50%; aspect-ratio: auto; min-height: 300px; }
.pet.vip .body { padding: 26px 26px 24px; justify-content: center; }
.pet.vip h3 { font-size: 24px; }
.pet .desc { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.pet.vip .btn { margin-top: 6px; align-self: flex-start; }
@media (max-width: 860px) { .pet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .pet-grid { gap: 12px; }
  .pet.vip { flex-direction: column; }
  .pet.vip .ph { aspect-ratio: 4 / 3; min-height: 0; }
  .pet.vip .body { padding: 16px; }
  .pet.vip h3 { font-size: 19px; }
  .pet .body { padding: 12px 12px 14px; }
  .pet h3 { font-size: 15.5px; }
  .pet .meta { font-size: 12.5px; }
  .pet .btn { font-size: 13px; padding: 8px 10px; }
  .pet.vip .btn { align-self: stretch; }
}
.pet .ph { position: relative; aspect-ratio: 1; overflow: hidden; }
.pet .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pet:hover .ph img { transform: scale(1.05); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge.vip { background: var(--olive-900); }
.pet .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pet h3 { font-size: 18px; margin: 0; }
.pet .meta { font-size: 13.5px; color: var(--muted); margin: 0; }
.pet .price { font-weight: 700; color: var(--gold); margin: 4px 0 10px; font-size: 15px; }
.pet .btn { margin-top: auto; }
.band-note { text-align: center; margin-top: 26px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }

/* Quy trình */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.steps li::before { content: counter(step); width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: #fff; font: 700 20px/46px var(--font-head); text-align: center; }
.steps b { display: block; color: var(--olive-900); }
.steps span { color: var(--muted); font-size: 15px; }

/* Kiến thức (thẻ đè ảnh như mẫu) */
.knowledge { position: relative; min-height: 440px; display: flex; align-items: center; background: var(--cream-2) center/cover no-repeat; }
.knowledge::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0)); }
.knowledge .card { position: relative; background: #fff; max-width: 460px; padding: 34px; box-shadow: var(--shadow); border-radius: 6px; }
.knowledge h2 { font-size: 34px; letter-spacing: .06em; color: var(--olive); text-transform: uppercase; }
@media (max-width: 600px) { .knowledge { min-height: 0; padding: 220px 0 24px; background-position: 70% top; background-size: 180% auto; } .knowledge .card { padding: 24px; } .knowledge h2 { font-size: 26px; } }

/* Tiêu đề trang con */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 44px 0 38px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin: 6px 0 8px; }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 17px; margin: 0; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-hero .paw-bg { position: absolute; right: -30px; bottom: -40px; width: 240px; height: 240px; color: var(--gold-soft); opacity: .7; }

/* Bài viết / văn bản dài */
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.toc { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 30px; }
.toc ol { margin: 6px 0 0; padding-left: 22px; }
.article { padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 34px; scroll-margin-top: 80px; }
.callout { background: var(--cream); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; font-size: 15.5px; }

/* Hỏi đáp */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--olive-900); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Kêu gọi hành động */
.cta-band { background: var(--olive-900) url('../img/hero-cun.jpg') center/cover; position: relative; color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(42, 48, 30, .82); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 640px; margin: 0 auto 22px; }
.cta-band .btn-row { justify-content: center; }

/* Liên hệ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-decoration: none; color: var(--ink); display: block; box-shadow: var(--shadow-sm); }
.contact-card svg { width: 30px; height: 30px; color: var(--olive); margin-bottom: 8px; }
.contact-card b { display: block; color: var(--olive-900); font-size: 18px; }
.contact-card span { color: var(--muted); font-size: 15px; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--cream-2); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--olive-900); }
.form input, .form select, .form textarea { font: 400 16px var(--font-body); padding: 12px 14px; border: 1px solid #d9cba9; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(107, 119, 72, .3); border-color: var(--olive); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form-msg { font-size: 14.5px; color: var(--olive-700); min-height: 1.4em; }

/* ---------- Chân trang ---------- */
.footer { background: var(--olive-900); color: rgba(255, 255, 255, .86); padding: 56px 0 0; font-size: 15px; }
.footer a { color: #fff; }
.footer h3 { color: #fff; font-size: 18px; letter-spacing: .04em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 36px; }
.footer .f-logo { width: 96px; height: 96px; border-radius: 50%; background: #fff; padding: 6px; margin-bottom: 12px; }
.f-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-list li { display: flex; gap: 10px; }
.f-list svg { color: var(--gold-soft); margin-top: 4px; }
.footer .map { height: 210px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; text-decoration: none; font-weight: 700; font-size: 12px; }
.social a:hover { background: rgba(255, 255, 255, .22); }
.copy { margin-top: 40px; padding: 16px 0 88px; border-top: 1px solid rgba(255, 255, 255, .14); text-align: center; font-size: 14px; color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Nút liên hệ nổi */
.float { position: fixed; left: 16px; bottom: 18px; z-index: 70; display: grid; gap: 12px; }
.fab { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 700; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.fab-zalo { width: 54px; height: 54px; justify-content: center; background: var(--zalo); font-size: 13px; letter-spacing: .02em; }
.fab-call { background: var(--call); padding: 0 18px 0 6px; height: 50px; }
.fab-call .ring { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; animation: ring 1.6s infinite; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 50% { transform: rotate(0); } }
.to-top { position: fixed; right: 16px; bottom: 18px; z-index: 70; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--olive-900); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transition: opacity .3s; }
.to-top.show { opacity: 1; visibility: visible; }
@media (max-width: 600px) {
  .float { left: 12px; bottom: 14px; gap: 10px; }
  .fab-zalo { width: 48px; height: 48px; font-size: 12px; }
  .fab-call .num { display: none; }
  .fab-call { padding: 0 4px; height: 48px; }
  .to-top { right: 12px; bottom: 14px; }
}

/* Hiện dần khi cuộn */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide { transition: none; }
  .fab-call .ring { animation: none; }
}
