/* ═══════════════════════════════════════════════════════
   tubepinoxhanoi.vn — Section CSS (phong cách THANH LỊCH, tham khảo Vạn Phú Thành)
   Slate #334862 + Gold #C0894A, Open Sans, nút pill. Có "Ý kiến khách hàng".
   Thiết kế RIÊNG site này (khác 304 / nhập khẩu / toàn quốc).
═══════════════════════════════════════════════════════ */

.usp__grid > *, .cats__grid > *, .products__grid > *, .projects__grid > *,
.reviews__grid > *, .values__grid > *, .pricing__grid > *, .knowledge__grid > * { min-width: 0; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--text); font-weight: 800; letter-spacing: 0; }
.h-section { font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.2; color: var(--slate); }
.eyebrow { display: inline-block; font-family: var(--serif); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .55rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.2rem; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h-section::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); margin: .8rem auto 0; border-radius: 2px; }
.section-head--center p { max-width: 62ch; margin-top: .8rem; }
.section-head--light .eyebrow { color: var(--accent-light); }
.section-head--light .h-section, .section-head--light p { color: #fff; }
.section-head--light .h-section::after { background: var(--accent-light); }
.section-head__more { flex-shrink: 0; }

/* ── Buttons (pill) ── */
.btn { font-family: var(--serif); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: .8rem; border-radius: 999px; padding: .8rem 1.7rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn-outline:hover { background: #fff; color: var(--slate); }
.btn-outline-dark { background: transparent; color: var(--slate); border: 2px solid var(--border-gray); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }
.hquote { padding: .7rem 1.5rem; }

/* ── Placeholder blocks ── */
.ph-block { width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, #eceff1, #dde2e6); color: #949ba2; font-weight: 600; font-size: .85rem; padding: 1rem; }
.ph-block--cat { min-height: 120px; font-size: 2rem; font-weight: 800; color: var(--accent); background: linear-gradient(135deg,#f6efe4,#ecdcc4); }
.ph-block--prod { min-height: 0; aspect-ratio: 1/1; }
.ph-block--project { min-height: 0; aspect-ratio: 4/3; }
.ph-block--about { min-height: 320px; }
.ph-block--card { min-height: 0; aspect-ratio: 16/10; }

/* ══ HERO ══ */
.vhero { position: relative; overflow: hidden; background: var(--slate-2); }
.vhero__track { position: relative; height: clamp(340px, 46vw, 540px); }
.vhero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease; display: flex; align-items: center; }
.vhero__slide.is-active { opacity: 1; visibility: visible; }
.vhero__slide > picture, .vhero__slide > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.vhero__slide picture img, .vhero__slide > img { width: 100%; height: 100%; object-fit: cover; }
.vhero__slide--ph.ph-0 { background: linear-gradient(120deg, #2a3b50 0%, #46362099 100%); }
.vhero__slide--ph.ph-1 { background: linear-gradient(120deg, #334862 0%, #5a431f99 100%); }
.vhero__slide--ph.ph-2 { background: linear-gradient(120deg, #263547 0%, #6b4e2099 100%); }
.vhero__overlay { position: relative; z-index: 2; width: 100%; padding: 0 4vw; height: 100%; display: flex; align-items: center; background: linear-gradient(90deg, rgba(30,40,54,.8) 0%, rgba(30,40,54,.4) 55%, transparent 85%); }
.vhero__eyebrow { display: inline-block; background: var(--accent); color: #fff; font-family: var(--serif); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1rem; }
.vhero__title { color: #fff; font-size: clamp(1.7rem, 4.3vw, 2.9rem); line-height: 1.12; max-width: 19ch; }
.vhero__overlay p { color: rgba(255,255,255,.9); margin-top: .9rem; max-width: 46ch; font-size: 1.02rem; }
.vhero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.vhero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--slate); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(0,0,0,.2); transition: background .2s; }
.vhero__arrow:hover { background: var(--accent); color: #fff; }
.vhero__arrow--prev { left: 16px; } .vhero__arrow--next { right: 16px; }
.vhero__dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 3; display: flex; gap: .5rem; justify-content: center; }
.vhero__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .2s, width .2s; }
.vhero__dots button.is-active { background: var(--accent); width: 26px; border-radius: 999px; }
@media (max-width: 720px) { .vhero__arrow { display: none; } }

/* ══ USP STRIP ══ */
.usp { padding: 0 4vw; margin-top: -36px; position: relative; z-index: 5; }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 34px rgba(42,59,80,.14); overflow: hidden; border-top: 3px solid var(--accent); }
.usp__item { display: flex; align-items: center; gap: .85rem; padding: 1.15rem 1.35rem; border-right: 1px solid var(--border); }
.usp__item:last-child { border-right: 0; }
.usp__ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(192,137,74,.12); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.usp__ic svg { width: 24px; height: 24px; }
.usp__t { line-height: 1.28; }
.usp__t b { display: block; font-family: var(--serif); font-size: .92rem; color: var(--slate); }
.usp__t span { font-size: .8rem; color: var(--text-mid); }
@media (max-width: 900px) { .usp__grid { grid-template-columns: repeat(2, 1fr); } .usp__item:nth-child(2) { border-right: 0; } }
@media (max-width: 520px) { .usp { margin-top: -20px; } .usp__grid { grid-template-columns: 1fr; } .usp__item { border-right: 0; border-bottom: 1px solid var(--border); } .usp__item:last-child { border-bottom: 0; } }

/* ══ SECTIONS ══ */
.cats, .products, .intro, .about, .reviews, .pricing, .projects, .values, .knowledge { padding: clamp(3rem, 6vw, 5rem) 4vw; }
.intro { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.about { background: var(--bg-2); }
.reviews { background: var(--bg-2); }
.projects { background: var(--slate); }
.values { background: var(--bg-2); }

/* ── INTRO ── */
.intro__inner { display: grid; grid-template-columns: 1.5fr .7fr; gap: 2.5rem; align-items: center; }
.intro__text p { margin: 1rem 0 1.6rem; max-width: 60ch; font-size: 1.03rem; }
.intro__stat { text-align: center; background: var(--slate); color: #fff; border-radius: var(--radius); padding: 2.3rem 1.5rem; box-shadow: 0 14px 30px rgba(42,59,80,.25); }
.intro__stat b { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--accent-light); }
.intro__stat span { display: block; margin-top: .5rem; font-weight: 600; opacity: .96; }
@media (max-width: 800px) { .intro__inner { grid-template-columns: 1fr; } }

/* ── KIỂU TỦ ── */
.cats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.2rem; }
.ccard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ccard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(42,59,80,.12); border-color: var(--accent); }
.ccard__media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-3); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; }
.ccard__body { padding: .95rem 1.1rem 1.15rem; }
.ccard__body h3 { font-size: 1rem; color: var(--slate); }
.ccard__body p { font-size: .83rem; color: var(--text-mid); margin-top: .3rem; }

/* ── MẪU TỦ ── */
.products__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.3rem; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(42,59,80,.12); border-color: var(--accent); }
.pcard__media { position: relative; aspect-ratio: 1/1; background: var(--bg-3); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__badge { position: absolute; top: 10px; right: 10px; font-size: .7rem; font-weight: 700; padding: .24rem .6rem; border-radius: 999px; color: #fff; background: var(--accent); }
.pcard__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.pcard__brand { font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); }
.pcard__title { font-family: var(--serif); font-size: .94rem; font-weight: 700; color: var(--slate); line-height: 1.35; margin: .3rem 0 .6rem; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__prices { margin-top: auto; }
.pcard__price { font-family: var(--serif); font-weight: 800; font-size: 1.05rem; color: var(--accent-dark); }
.pcard__unit { font-size: .76rem; font-weight: 600; color: var(--text-light); }
.pcard__cta { margin-top: .75rem; text-align: center; border: 1.5px solid var(--border-gray); border-radius: 999px; padding: .5rem; font-family: var(--serif); font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--text-mid); transition: background .2s, color .2s, border-color .2s; }
.pcard:hover .pcard__cta { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── ABOUT ── */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; }
.about__media img, .about__media .ph-block { border-radius: var(--radius); overflow: hidden; }
.about__text p { margin-top: .9rem; }
.about__list { list-style: none; margin: 1.2rem 0 1.6rem; display: grid; gap: .6rem; }
.about__list li { position: relative; padding-left: 1.9rem; color: var(--text); font-weight: 500; }
.about__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; background: var(--accent); color: #fff; border-radius: 50%; font-size: .75rem; display: flex; align-items: center; justify-content: center; }
@media (max-width: 800px) { .about__inner { grid-template-columns: 1fr; } .about__media { order: -1; } }

/* ── Ý KIẾN KHÁCH HÀNG ── */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: 0 8px 24px rgba(42,59,80,.06); position: relative; }
.review-card::before { content: "“"; position: absolute; top: .4rem; right: 1.1rem; font-family: Georgia, serif; font-size: 3.5rem; line-height: 1; color: rgba(192,137,74,.22); }
.review-card__stars { color: var(--accent); letter-spacing: .1em; font-size: .95rem; }
.review-card__quote { margin: .7rem 0 1.2rem; font-size: .96rem; color: var(--text); line-height: 1.65; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: .8rem; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--slate); color: #fff; font-family: var(--serif); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.review-card__author b { display: block; color: var(--slate); font-size: .95rem; }
.review-card__author small { color: var(--text-mid); font-size: .82rem; }
@media (max-width: 820px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ── PRICING ── */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.pricing__card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.6rem; position: relative; box-shadow: 0 8px 24px rgba(42,59,80,.05); }
.pricing__card.is-featured { border-color: var(--accent); box-shadow: 0 16px 40px rgba(192,137,74,.18); }
.pricing__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: var(--serif); font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; }
.pricing__name { font-size: 1.1rem; color: var(--slate); }
.pricing__price { font-family: var(--serif); font-weight: 800; font-size: 1.9rem; color: var(--accent-dark); margin: .5rem 0; }
.pricing__from { font-size: .85rem; font-weight: 600; color: var(--text-light); }
.pricing__unit { font-size: .9rem; font-weight: 600; color: var(--text-light); }
.pricing__desc { color: var(--text-mid); font-size: .9rem; }
.pricing__list { list-style: none; margin: 1.1rem 0 1.4rem; display: grid; gap: .55rem; }
.pricing__list li { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; }
.pricing__list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: .15rem; }
.pricing__btn { width: 100%; }
@media (max-width: 820px) { .pricing__grid { grid-template-columns: 1fr; } }

/* ── CÔNG TRÌNH (nền slate) ── */
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.project-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #000; }
.project-card__media { aspect-ratio: 4/3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,28,38,.88) 0%, rgba(20,28,38,.15) 55%, transparent 100%); }
.project-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.2rem 1.25rem; }
.project-card__tag { display: inline-block; background: var(--accent); color: #fff; font-family: var(--serif); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .22rem .65rem; border-radius: 999px; margin-bottom: .5rem; }
.project-card__title { color: #fff; font-size: 1.05rem; line-height: 1.25; }
.project-card__meta { display: block; color: rgba(255,255,255,.85); font-size: .84rem; margin-top: .3rem; }
@media (max-width: 860px) { .projects__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .projects__grid { grid-template-columns: 1fr; } }

/* ── CAM KẾT ── */
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem 1.4rem; transition: box-shadow .2s, transform .2s; box-shadow: 0 8px 24px rgba(42,59,80,.05); }
.value-card:hover { box-shadow: 0 14px 30px rgba(42,59,80,.1); transform: translateY(-3px); }
.value-card__no { font-family: var(--serif); font-weight: 800; font-size: 1.4rem; color: var(--accent); }
.value-card h3 { font-size: 1rem; color: var(--slate); margin: .5rem 0 .45rem; }
.value-card p { font-size: .88rem; color: var(--text-mid); }
@media (max-width: 900px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values__grid { grid-template-columns: 1fr; } }

/* ── TIN TỨC (date badge) ── */
.knowledge__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 14px 30px rgba(42,59,80,.1); transform: translateY(-3px); }
.post-card__media { position: relative; aspect-ratio: 16/10; background: var(--bg-3); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { position: absolute; left: 12px; bottom: 12px; background: var(--accent); color: #fff; font-family: var(--serif); font-weight: 700; font-size: .72rem; text-align: center; line-height: 1.1; padding: .4rem .55rem; border-radius: var(--radius); }
.post-card__date b { display: block; font-size: 1.1rem; }
.post-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.post-card__body h3 { font-size: 1rem; color: var(--slate); margin: 0 0 .5rem; line-height: 1.35; }
.post-card__body p { font-size: .88rem; color: var(--text-mid); }
@media (max-width: 820px) { .knowledge__grid { grid-template-columns: 1fr; } }

/* ── LEAD SECTION ── */
.lead-section .eyebrow { color: var(--accent); }
.lead-section .h-section { color: var(--slate); }
.lead-section__phone a { color: var(--accent-dark); font-weight: 700; }

/* ══ FOOTER ══ */
.vfooter { background: var(--slate-2); color: rgba(255,255,255,.72); }
.vfooter__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 2.2rem; padding: 3.5rem 4vw 2.5rem; max-width: var(--max-w); margin: 0 auto; }
.vfooter .nav-logo, .vfooter .brand__name { color: #fff; }
.vfooter__desc { font-size: .9rem; line-height: 1.7; margin: 1rem 0; }
.vfooter__info { list-style: none; display: grid; gap: .5rem; font-size: .88rem; }
.vfooter__info b { color: #fff; font-weight: 600; }
.vfooter__info a:hover { color: var(--accent-light); }
.vfooter__title { color: #fff; font-family: var(--serif); font-weight: 700; font-size: .96rem; margin-bottom: 1rem; }
.vfooter__links { display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; }
.vfooter__links a:hover { color: var(--accent-light); }
.vfooter__social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.vfooter__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; }
.vfooter__social a:hover { border-color: var(--accent); color: var(--accent-light); }
.vfooter__social svg { width: 17px; height: 17px; }
.vfooter__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.vfooter__bottom .inner { padding: 1.3rem 4vw; max-width: var(--max-w); margin: 0 auto; }
@media (max-width: 860px) { .vfooter__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vfooter__grid { grid-template-columns: 1fr; } }

/* ── Brand logo ── */
.brand__logo svg, .brand__logo img { height: 42px; width: auto; }
.vfooter__brand .brand__logo svg, .vfooter__brand .brand__logo img { height: 38px; }

/* ══ TINH CHỈNH MOBILE ══ */
@media (max-width: 720px) {
  .hcall { display: none; }
  .hquote { padding: .55rem 1.1rem; font-size: .76rem; white-space: nowrap; }
  .brand__logo svg, .brand__logo img { height: 34px; }
}
@media (max-width: 640px) {
  .topbar__contact { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__slogan { text-align: center; }
}
@media (max-width: 600px) {
  .cats__grid, .products__grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .ccard__body { padding: .7rem .75rem .85rem; }
  .ccard__body h3 { font-size: .88rem; }
  .pcard__body { padding: .7rem .75rem .85rem; }
  .pcard__title { font-size: .85rem; min-height: 2.4em; }
  .pcard__price { font-size: .96rem; }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: .56rem; }
}
