/* ═══════════════════════════════════════════════════════
   tubeptoanquoc.com — Section CSS (phong cách DOANH NGHIỆP, tham khảo Lecmax)
   Đỏ #ED1C24 + Montserrat in hoa. Nhấn Dự án tiêu biểu + đối tác.
   Thiết kế RIÊNG site này (khác 304 & nhập khẩu).
═══════════════════════════════════════════════════════ */

.usp__grid > *, .cats__grid > *, .products__grid > *, .projects__grid > *,
.features__grid > *, .values__grid > *, .pricing__grid > *,
.knowledge__grid > *, .partners__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.4rem, 3vw, 2.05rem); line-height: 1.15; text-transform: uppercase; }
.eyebrow {
  display: inline-block; font-family: var(--serif); font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .55rem; position: relative;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h-section::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin: .7rem auto 0; }
.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__more { flex-shrink: 0; }

/* ── Buttons ── */
.btn { font-family: var(--serif); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border-radius: var(--radius); font-size: .82rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--text); }
.btn-outline-dark { background: transparent; color: var(--text); border: 2px solid var(--border-gray); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }
.hquote { padding: .7rem 1.4rem; }

/* ── 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, #e9ebee, #dadde1); color: #969ba1; 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,#fdeaea,#f9d6d7); }
.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(--dark-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, #231F20 0%, #4a1215 100%); }
.vhero__slide--ph.ph-1 { background: linear-gradient(120deg, #2b2728 0%, #5c1418 100%); }
.vhero__slide--ph.ph-2 { background: linear-gradient(120deg, #201d1e 0%, #6e161b 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(20,18,18,.78) 0%, rgba(20,18,18,.38) 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: var(--radius); margin-bottom: 1rem; }
.vhero__title { color: #fff; font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.08; text-transform: uppercase; 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(--text); 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(20,18,18,.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: 42px; height: 42px; border-radius: var(--radius); background: rgba(237,28,36,.1); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.usp__ic svg { width: 24px; height: 24px; }
.usp__t { line-height: 1.25; }
.usp__t b { display: block; font-family: var(--serif); font-size: .92rem; color: var(--text); text-transform: uppercase; letter-spacing: .01em; }
.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 chung ══ */
.cats, .products, .projects, .intro, .features, .about, .pricing, .values, .partners, .knowledge { padding: clamp(3rem, 6vw, 5rem) 4vw; }
.cats { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.projects { background: var(--dark-2); }
.features { background: var(--dark-3); }
.about { background: var(--bg-2); }
.values { background: var(--bg-2); }
.partners { background: #fff; padding-top: 0; }

/* ── KIỂU TỦ (tiles) ── */
.cats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.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(20,18,18,.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: .9rem 1.05rem 1.1rem; }
.ccard__body h3 { font-size: .98rem; text-transform: uppercase; }
.ccard__body p { font-size: .82rem; color: var(--text-mid); margin-top: .3rem; }

/* ── MẪU TỦ (sản phẩm) ── */
.products__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.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(20,18,18,.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: .22rem .55rem; border-radius: var(--radius); color: #fff; background: var(--accent); text-transform: uppercase; }
.pcard__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.pcard__brand { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.pcard__title { font-family: var(--serif); font-size: .92rem; font-weight: 700; line-height: 1.3; 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: var(--radius); 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; }

/* ── DỰ ÁN (signature) ── */
.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,18,18,.85) 0%, rgba(20,18,18,.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: .06em; text-transform: uppercase; padding: .22rem .6rem; border-radius: var(--radius); margin-bottom: .5rem; }
.project-card__title { color: #fff; font-size: 1.05rem; text-transform: uppercase; line-height: 1.2; }
.project-card__meta { display: block; color: rgba(255,255,255,.82); 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; } }

/* ── 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: 56ch; font-size: 1.02rem; }
.intro__stat { text-align: center; background: var(--accent); color: #fff; border-radius: var(--radius); padding: 2.2rem 1.5rem; box-shadow: 0 14px 30px rgba(237,28,36,.28); }
.intro__stat b { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; }
.intro__stat span { display: block; margin-top: .5rem; font-weight: 600; opacity: .96; }
@media (max-width: 800px) { .intro__inner { grid-template-columns: 1fr; } }

/* ── FEATURES (nền tối) ── */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.8rem 1.6rem; border-top: 3px solid var(--accent); }
.feature__num { font-family: var(--serif); font-weight: 800; font-size: 1.6rem; color: var(--accent-light); }
.feature h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; margin: .6rem 0 .5rem; }
.feature p { color: rgba(255,255,255,.72); font-size: .92rem; }
@media (max-width: 800px) { .features__grid { grid-template-columns: 1fr; } }

/* ── 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.8rem; color: var(--text); font-weight: 500; }
.about__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; background: var(--accent); color: #fff; border-radius: 3px; 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; } }

/* ── 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; }
.pricing__card.is-featured { border-color: var(--accent); border-top: 4px solid var(--accent); box-shadow: 0 16px 40px rgba(237,28,36,.16); }
.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: var(--radius); white-space: nowrap; }
.pricing__name { font-size: 1.1rem; text-transform: uppercase; }
.pricing__price { font-family: var(--serif); font-weight: 800; font-size: 1.9rem; color: var(--accent); 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; } }

/* ── VALUES ── */
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem; transition: box-shadow .2s, transform .2s; border-bottom: 3px solid var(--accent); }
.value-card:hover { box-shadow: 0 12px 28px rgba(20,18,18,.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; text-transform: uppercase; 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; } }

/* ── PARTNERS (thương hiệu vật liệu) ── */
.partners__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.partners__chip { font-family: var(--serif); font-weight: 800; letter-spacing: .02em; color: var(--text-mid); background: var(--bg-2); border: 1px solid var(--border); padding: .7rem 1.5rem; border-radius: var(--radius); font-size: 1rem; text-transform: uppercase; transition: color .2s, border-color .2s; }
.partners__chip:hover { color: var(--accent); border-color: var(--accent); }

/* ── TIN TỨC (news + 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(20,18,18,.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; text-transform: uppercase; margin: 0 0 .5rem; line-height: 1.3; }
.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__phone a { color: var(--accent); font-weight: 700; }

/* ══ FOOTER ══ */
.vfooter { background: var(--dark-2); color: rgba(255,255,255,.7); }
.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; text-transform: uppercase; font-size: .95rem; 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 1rem; font-size: .78rem; 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: .84rem; min-height: 2.4em; }
  .pcard__price { font-size: .96rem; }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: .56rem; }
}
