/*
Theme Name: Thợ Xuyên Việt
Theme URI: https://thoxuyenviet.com
Author: Thợ Xuyên Việt
Description: Website giới thiệu dịch vụ sửa chữa - lắp đặt tại nhà của Thợ Xuyên Việt. "Gọi thợ là có!"
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: thoxuyenviet
*/

/* =========================================================
   0. TOKENS
   ========================================================= */
:root{
  --navy: #224474;
  --navy-dark: #17335A;
  --navy-darker: #0E2038;
  --orange: #EB7F25;
  --orange-dark: #CE6710;
  --orange-light: #FDEDE0;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --ink: #1C2733;
  --muted: #64748B;
  --border: #E2E8F0;

  --font-display: "Be Vietnam Pro", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", "Be Vietnam Pro", -apple-system, sans-serif;

  --container: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(14,32,56,.06), 0 1px 1px rgba(14,32,56,.04);
  --shadow-md: 0 8px 24px rgba(14,32,56,.10);
  --shadow-lg: 0 20px 48px rgba(14,32,56,.16);
}

/* =========================================================
   1. RESET / BASE
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  /* Ticker dich vu: chu y giu chay lien tuc bat ke cai dat Reduce Motion cua thiet bi */
  .ticker-track{ animation-duration: 32s !important; animation-iteration-count: infinite !important; }
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); color: var(--navy-darker); margin: 0; line-height: 1.15; font-weight: 800; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }

:focus-visible{ outline: 3px solid var(--orange); outline-offset: 2px; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap-narrow{ max-width: 780px; margin: 0 auto; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before{ content:""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }

h1{ font-size: clamp(2.2rem, 4.5vw + .8rem, 3.6rem); letter-spacing: -.01em; }
h2{ font-size: clamp(1.7rem, 2.6vw + .7rem, 2.5rem); letter-spacing: -.01em; }
h3{ font-size: 1.25rem; }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head p{ color: var(--muted); font-size: 1.06rem; margin-top: 12px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before{ display:none; }

section{ padding: 88px 0; }
@media (max-width: 780px){ section{ padding: 60px 0; } }

/* =========================================================
   2. BUTTONS
   ========================================================= */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  font-family: var(--font-display); border: 2px solid transparent; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn svg{ width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary{ background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-navy{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color: #fff; }
.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 18px; font-size: .88rem; }

/* =========================================================
   3. HEADER
   ========================================================= */
.site-header{
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.brand{ display: flex; align-items: center; }
.brand img{ height: 46px; width: auto; }
.primary-nav{ display: flex; align-items: center; gap: 4px; }
.primary-nav ul{ display: flex; align-items: center; gap: 4px; }
.primary-nav a{
  display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600;
  font-size: .96rem; color: var(--navy-darker); transition: background .15s ease, color .15s ease;
}
.primary-nav a:hover, .primary-nav .current-menu-item a{ background: var(--orange-light); color: var(--orange-dark); }
.header-actions{ display: flex; align-items: center; gap: 10px; }
.header-call{ display: flex; flex-direction: column; line-height: 1.2; text-align: right; margin-right: 4px; }
.header-call small{ color: var(--muted); font-size: .74rem; }
.header-call strong{ color: var(--navy-darker); font-family: var(--font-display); font-size: 1rem; }

.nav-toggle{
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; align-items: center; justify-content: center;
}
.nav-toggle svg{ width: 22px; height: 22px; }

@media (max-width: 960px){
  .header-call{ display: none; }
}
@media (max-width: 860px){
  .primary-nav{
    position: fixed; top: calc(82px + env(safe-area-inset-top)); left: 0; right: 0; z-index: 99;
    height: calc(100vh - 82px - env(safe-area-inset-top));
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 20px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .2s ease;
    overflow-y: auto; border-top: 1px solid var(--border);
  }
  .primary-nav ul{ flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a{ padding: 14px 16px; font-size: 1.05rem; }
  .primary-nav.is-open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header-actions .btn-primary span{ display:none; }
  .nav-toggle{ display: flex; }
}
@media (max-width: 380px){
  .brand img{ height: 38px; }
}

/* =========================================================
   4. HERO
   ========================================================= */
.hero{
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-darker) 100%);
  padding: 84px 0 0;
}
.hero-grid{ display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: #FDBE84; margin-bottom: 22px;
}
.hero-eyebrow img{ height: 320px; width: auto; }
@media (min-width: 981px){
  .hero-eyebrow{ padding: 14px 28px; margin-bottom: 32px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
  .hero-eyebrow img{ height: 480px; }
}
.hero h1{ color: #fff; margin-bottom: 18px; }
.hero h1 em{ font-style: normal; color: var(--orange); position: relative; }
.hero p.lead{ font-size: 1.14rem; color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 32px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust{ display: flex; flex-wrap: wrap; gap: 22px 30px; }
.hero-trust div{ display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 600; }
.hero-trust svg{ width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }

/* toolbox visual */
.hero-visual{ position: relative; height: 420px; }
.tool-chip{
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 118px; height: 118px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; backdrop-filter: blur(6px); box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.tool-chip svg{ width: 36px; height: 36px; color: var(--orange); }
.tool-chip span{ font-family: var(--font-display); font-weight: 700; font-size: .72rem; color: #fff; text-align:center; }
.hero-visual .tc1{ top: 0;   left: 10%;  transform: rotate(-7deg); }
.hero-visual .tc2{ top: 30px; left: 42%; transform: rotate(5deg); background: rgba(235,127,37,.16); border-color: rgba(235,127,37,.4); }
.hero-visual .tc3{ top: 10px; right: 4%; transform: rotate(9deg); }
.hero-visual .tc4{ top: 190px; left: 0;   transform: rotate(4deg); }
.hero-visual .tc5{ top: 210px; left: 33%; transform: rotate(-6deg); background: rgba(235,127,37,.16); border-color: rgba(235,127,37,.4); }
.hero-visual .tc6{ top: 175px; right: 6%; transform: rotate(-4deg); }
.hero-visual .tc7{ top: 340px; left: 18%; transform: rotate(6deg); }
.hero-wave{ display: block; width: 100%; height: 60px; margin-top: 60px; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ height: 300px; max-width: 460px; margin: 0 auto; }
  .tool-chip{ width: 92px; height: 92px; }
  .tool-chip svg{ width: 28px; height: 28px; }
}
@media (max-width: 560px){
  .hero-visual{ display: none; }
  .hero{ padding-bottom: 20px; }
}
@media (max-width: 480px){
  .hero-actions .btn{ width: 100%; }
}

/* =========================================================
   5. SERVICE "HANG-TAG" CARDS
   ========================================================= */
.services-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px){ .services-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .services-grid{ grid-template-columns: 1fr; } }

.svc-tag{
  position: relative; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .18s ease, box-shadow .18s ease; overflow: hidden;
}
.svc-tag:hover{ transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.svc-tag-icon{
  position: relative; background: var(--navy); height: 96px;
  display: flex; align-items: center; justify-content: center;
}
.svc-tag-icon svg{ width: 40px; height: 40px; color: #fff; }
.svc-tag-icon::after{
  content: ""; position: absolute; left: 18px; top: 18px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.svc-tag-perf{
  height: 0; border-top: 2px dashed var(--orange); margin: 0 16px;
}
.svc-tag-body{ padding: 20px 20px 22px; }
.svc-tag-body h3{ font-size: 1.06rem; margin-bottom: 8px; }
.svc-tag-body p{ color: var(--muted); font-size: .92rem; }
.svc-tag-link{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700;
  font-size: .86rem; color: var(--orange-dark);
}
.svc-tag-link svg{ width: 15px; height: 15px; transition: transform .15s ease; }
.svc-tag:hover .svc-tag-link svg{ transform: translateX(4px); }

/* =========================================================
   6. FEATURE / WHY-US CARDS
   ========================================================= */
.features-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px){ .features-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .features-grid{ grid-template-columns: 1fr; } }
.feature-card{ padding: 4px; }
.feature-icon{
  width: 56px; height: 56px; border-radius: 16px; background: var(--orange-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon svg{ width: 28px; height: 28px; color: var(--orange-dark); }
.feature-card h3{ font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p{ color: var(--muted); font-size: .94rem; }

/* =========================================================
   7. PROCESS STEPS (numbered — genuine sequence)
   ========================================================= */
.process{ background: var(--surface); border-radius: 28px; padding: 56px; }
@media (max-width: 780px){ .process{ padding: 32px 22px; border-radius: 20px; } }
.process-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative; }
@media (max-width: 860px){ .process-grid{ grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px){ .process-grid{ grid-template-columns: 1fr; } }
.process-step{ position: relative; padding-right: 18px; }
.process-num{
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--orange-light);
  -webkit-text-stroke: 2px var(--orange); display: block; margin-bottom: 10px; line-height: 1;
}
.process-step h3{ font-size: 1.02rem; margin-bottom: 6px; }
.process-step p{ color: var(--muted); font-size: .9rem; }
.process-step:not(:last-child)::after{
  content: ""; position: absolute; top: 22px; right: -12px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 10px);
}
@media (max-width: 860px){ .process-step:not(:last-child)::after{ display:none; } }

/* =========================================================
   8. ABOUT TEASER / SPLIT SECTIONS
   ========================================================= */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; gap: 32px; } }
.value-list{ display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.value-list li{ display: flex; gap: 14px; align-items: flex-start; }
.value-list svg{ width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.value-list strong{ display:block; font-family: var(--font-display); color: var(--navy-darker); }
.value-list span.desc{ color: var(--muted); font-size: .92rem; }

.about-card{
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-darker) 100%);
  border-radius: 24px; padding: 44px; color: #fff; position: relative; overflow: hidden;
}
.about-card svg.deco{ position: absolute; right: -30px; bottom: -30px; width: 180px; height: 180px; color: rgba(255,255,255,.06); }
.about-card h3{ color: #fff; font-size: 1.5rem; margin-bottom: 14px; }
.about-card p{ color: rgba(255,255,255,.78); position: relative; }

/* =========================================================
   9. CTA BAND
   ========================================================= */
.cta-band{
  background: linear-gradient(120deg, var(--navy-darker), var(--navy) 60%, var(--navy-dark));
  color: #fff; border-radius: 28px; padding: 56px; text-align: center;
}
@media (max-width: 780px){ .cta-band{ padding: 40px 24px; border-radius: 20px; } }
.cta-band h2{ color: #fff; margin-bottom: 12px; }
.cta-band p{ color: rgba(255,255,255,.76); max-width: 480px; margin: 0 auto 30px; }
.cta-actions{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.coming-soon-badge{
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 24px;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px dashed rgba(255,255,255,.35);
  font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.coming-soon-badge svg{ width: 20px; height: 20px; color: var(--orange); }
@media (max-width: 560px){
  .coming-soon-badge{ font-size: .88rem; padding: 10px 18px; }
}

/* =========================================================
   10. FOOTER
   ========================================================= */
.site-footer{ background: var(--navy-darker); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand .wordmark{ font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: .01em; }
.footer-brand .slogan{ color: var(--orange); font-weight: 700; font-family: var(--font-display); margin: 6px 0 16px; }
.footer-brand p{ font-size: .92rem; line-height: 1.7; max-width: 300px; }
.site-footer h4{ color: #fff; font-family: var(--font-display); font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul{ display: flex; flex-direction: column; gap: 12px; }
.site-footer a{ font-size: .92rem; transition: color .15s ease; }
.site-footer a:hover{ color: #fff; }
.footer-contact li{ display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.footer-contact svg{ width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* =========================================================
   11. PAGE BANNER (inner pages)
   ========================================================= */
.page-banner{
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 60%, var(--navy-darker) 100%);
  color: #fff; padding: 60px 0 74px; text-align: center;
}
.page-banner .eyebrow{ justify-content: center; }
.page-banner .eyebrow::before{ display: none; }
.page-banner h1{ color: #fff; }
.page-banner p{ color: rgba(255,255,255,.75); max-width: 560px; margin: 14px auto 0; }
.breadcrumb{ font-size: .84rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.breadcrumb a:hover{ color: #fff; }

/* =========================================================
   12. SERVICE DETAIL LIST (Dịch Vụ page)
   ========================================================= */
.svc-detail-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 780px){ .svc-detail-grid{ grid-template-columns: 1fr; } }
.svc-detail{
  scroll-margin-top: calc(100px + env(safe-area-inset-top)); display: flex; gap: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.svc-detail-icon{
  width: 58px; height: 58px; border-radius: 16px; background: var(--navy); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.svc-detail-icon svg{ width: 30px; height: 30px; color: #fff; }
.svc-detail h3{ margin-bottom: 8px; }
.svc-detail p{ color: var(--muted); font-size: .94rem; margin-bottom: 12px; }
@media (max-width: 420px){
  .svc-detail{ padding: 18px; gap: 14px; }
  .svc-detail-icon{ width: 48px; height: 48px; }
}

/* =========================================================
   13. CONTACT PAGE
   ========================================================= */
.contact-grid{ display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: flex-start; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-info-card{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-info-card h3{ margin-bottom: 20px; }
.contact-info-card ul{ display: flex; flex-direction: column; gap: 20px; margin-bottom: 26px; }
.contact-info-card li{ display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card .ci-icon{
  width: 42px; height: 42px; border-radius: 12px; background: var(--orange-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card .ci-icon svg{ width: 21px; height: 21px; color: var(--orange-dark); }
.contact-info-card li strong{ display: block; font-family: var(--font-display); color: var(--navy-darker); font-size: .92rem; }
.contact-info-card li span{ color: var(--muted); font-size: .92rem; }
.contact-info-actions{ display: flex; flex-direction: column; gap: 12px; }

.contact-form{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 18px; }
.field label{ display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; color: var(--navy-darker); }
.field input, .field select, .field textarea{
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 10px;
  background: var(--bg); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--orange); background: #fff; outline: none; }
.field textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-success{
  background: var(--orange-light); border: 1px solid rgba(235,127,37,.35); color: var(--orange-dark);
  padding: 14px 18px; border-radius: 10px; font-weight: 600; font-size: .92rem; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.form-success svg{ width: 20px; height: 20px; flex-shrink: 0; }
.hp-field{ position: absolute; left: -9999px; opacity: 0; }

section[id], .svc-detail[id]{ scroll-margin-top: calc(96px + env(safe-area-inset-top)); }

/* =========================================================
   14b. TICKER — dải dịch vụ tràn viền, cuộn ngang liên tục
   ========================================================= */
.ticker-wrap{
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  overflow: hidden; background: var(--navy-darker);
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
}
.ticker-track{
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  animation: txv-ticker 32s linear infinite;
  padding-left: 100%;
}
.ticker-wrap:hover .ticker-track{ animation-play-state: paused; }
.ticker-item{
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display);
  font-weight: 700; font-size: .95rem; color: #fff; letter-spacing: .01em;
}
.ticker-item svg{ width: 20px; height: 20px; color: var(--orange); }
.ticker-dot{ color: rgba(255,255,255,.3); font-size: 1.1rem; }
@keyframes txv-ticker{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* =========================================================
   14c. FLOATING QUICK ACTIONS
   ========================================================= */
.quick-actions{
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.qa-btn{
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform .15s ease;
}
.qa-btn:hover{ transform: scale(1.08); }
.qa-btn svg{ width: 24px; height: 24px; }
.qa-mail{ background: var(--orange); color: #fff; }

/* Toast dự phòng khi bấm nút Email (báo đã copy địa chỉ) */
.txv-toast{
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px);
  background: var(--navy-darker); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 999;
  display: flex; align-items: center; gap: 8px; opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease; max-width: calc(100vw - 32px); text-align: center;
}
.txv-toast.is-visible{ opacity: 1; transform: translateX(-50%) translateY(0); }
.txv-toast svg{ width: 18px; height: 18px; flex-shrink: 0; color: var(--orange); }
@media (max-width: 640px){
  .quick-actions{ right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .qa-btn{ width: 48px; height: 48px; }
  .qa-btn svg{ width: 21px; height: 21px; }
}

/* nav active state (scrollspy, set via JS) */
.primary-nav a.is-active{ background: var(--orange-light); color: var(--orange-dark); }
.site-header.is-scrolled{ box-shadow: var(--shadow-sm); }

/* =========================================================
   14. VALUES GRID (Về chúng tôi)
   ========================================================= */
.values-grid{ display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 980px){ .values-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .values-grid{ grid-template-columns: 1fr; } }
.value-card{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.value-card .feature-icon{ margin-bottom: 16px; }

.eco-strip{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.eco-pill{
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: .86rem; font-weight: 600; color: var(--navy-darker);
}
.eco-pill svg{ width: 16px; height: 16px; color: var(--orange); }

/* generic page content (page.php fallback) */
.entry-content{ max-width: 780px; margin: 0 auto; }
.entry-content > *+*{ margin-top: 1.1em; }
.entry-content p{ color: var(--muted); line-height: 1.75; }
.entry-content ul, .entry-content ol{ padding-left: 1.4em; color: var(--muted); line-height: 1.7; }
.entry-content ul{ list-style: disc; }
.entry-content ol{ list-style: decimal; }
.entry-content li + li{ margin-top: .5em; }
.entry-content li::marker{ color: var(--orange); }
.entry-content h2{ margin-top: 2.4em; padding-top: .6em; border-top: 2px solid var(--border); }
.entry-content h2:first-child{ margin-top: 0; padding-top: 0; border-top: none; }
.entry-content h3{ margin-top: 1.8em; }
.entry-content h4{ font-size: 1.05rem; margin-top: 1.4em; }
.entry-content hr{ border: none; border-top: 1px solid var(--border); margin: 2.4em 0; }
.entry-content strong{ color: var(--navy-darker); }
.entry-content em{ color: var(--muted); font-style: italic; }

/* =========================================================
   15. LANDSCAPE MOBILE (man ngang, thap) — xem ke-hoach-toi-uu-xoay-ngang-mobile.md
   Dat CUOI file de thang cascade voi moi rule cung selector phia tren
   (vd .hero-eyebrow img o dong ~176/~180). Co max-width 980px de KHONG
   anh huong desktop lo thu nho cua so trinh duyet xuong thap.
   ========================================================= */
@media (max-width: 980px) and (max-height: 500px) and (orientation: landscape){
  .hero-eyebrow img{ height: clamp(240px, 80vh, 480px); }
  .hero-visual{ display: none; }
  .hero{ padding-top: 20px; }
  section{ padding: 32px 0; }
  .process{ padding: 24px 20px; }
  .cta-band{ padding: 28px 20px; }
  .page-banner{ padding: 28px 0 32px; }

  /* Header tu an khi cuon xuong — xem ke-hoach-header-tu-an-khi-cuon-landscape.md */
  .site-header{ transition: transform .25s ease; }
  .site-header.is-header-hidden{ transform: translateY(-100%); }

  .quick-menu-toggle{
    display: none; position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 98;
    width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--navy); color: #fff; border: none; box-shadow: var(--shadow-lg);
  }
  .quick-menu-toggle svg{ width: 22px; height: 22px; }
  .quick-menu-toggle.is-visible{ display: flex; }
}
