/* HZ Group v2 — trang công ty / lĩnh vực (Cao su Xuân Lộc, Xây dựng cao su, Tam Thắng, NOXH Hàm Kiệm II)
   Figma 278-56062 / 278-56550 / 278-57490 · 278-57953 / 278-58441 / 278-58911 */

/* ---------- hero ---------- */
.co-hero { position: relative; display: flex; align-items: center; min-height: 1000px; overflow: hidden; background: #0b3049; color: var(--white); }
.co-hero__media, .co-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.co-hero__media img { object-fit: cover; object-position: center; }
.co-hero--tint::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .7) 90%, #fff 99%),
    linear-gradient(90deg, rgba(6, 35, 58, .72) 0%, rgba(6, 35, 58, .5) 40%, rgba(6, 35, 58, .12) 72%, rgba(6, 35, 58, 0) 100%),
    linear-gradient(180deg, rgba(6, 35, 58, .35) 0%, rgba(6, 35, 58, 0) 30%); }
.co-hero__inner { position: relative; z-index: 1; padding-top: 138px; padding-bottom: 72px; }
.co-hero__crumb { gap: 12px; color: var(--white); }
.co-hero__crumb a:hover { opacity: .8; }
.co-hero__crumb span[aria-hidden] { opacity: 1; }
.co-hero__body { padding-top: 60px; }
.co-hero__eyebrow { color: #75c9ff; }
.co-hero__title { max-width: 850px; padding-top: 20px; font: 500 64px/76.8px var(--font-head); letter-spacing: -.03em; color: var(--white); }
.co-hero__legal { padding-top: 26px; font: 500 16px/26.4px var(--font); color: var(--white); }
.co-hero__lead { max-width: 620px; padding: 18px 0 32px; font: 400 18px/28.8px var(--font); color: var(--white); }
.co-hero__title + .co-hero__lead { padding-top: 26px; }

/* nút xanh 58px (Figma: pad 13/20, gap 16, icon 30) */
.co-btn { min-height: 58px; padding: 13px 20px; justify-content: flex-start; box-shadow: 0 3px 8px rgba(15, 78, 136, .06); }

/* ---------- nội dung (trượt lên che hero) ---------- */
.co-body { background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 30%, #eff7fc 65%, #e8f3fb 100%); }
.co-body::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 220px; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }

.co-h2 { font: 500 48px/57.6px var(--font-head); letter-spacing: -.025em; color: var(--navy); text-wrap: balance; }
.co-line { display: block; text-wrap: balance; }

.co-intro { padding: 84px 0; }
.co-intro__title { max-width: 620px; padding-top: 18px; }
.co-intro__text { max-width: 845px; margin-top: 20px; font: 400 16px/26.4px var(--font); color: var(--slate); }
.co-intro__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 70px; margin-top: 48px; }
.co-intro--tight .co-intro__grid { margin-top: 40px; }

.co-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.co-figure figcaption { padding-top: 12px; font: 400 12px/19.2px var(--font); color: var(--slate); }

.co-act__item { display: flex; align-items: flex-start; gap: 30px; padding: 26px 0; border-bottom: 1px solid #cddce6; }
.co-act__item:first-child { padding-top: 0; }
.co-act__item:last-child { padding-bottom: 0; border-bottom: 0; }
.co-act__icon { width: 30px; height: 30px; flex: none; color: var(--blue); }
.co-act__item > div { min-width: 0; }
.co-act__title { font: 500 24px/33.6px var(--font-head); letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.co-act__text { padding-top: 6px; font: 400 16px/26.4px var(--font); color: var(--slate); }

.co-source { padding-top: 30px; font: 400 12px/19.2px var(--font); color: var(--slate); }
.co-source a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.co-source a:hover { color: var(--blue-hover); }

.co-more { padding: 70px 0; }
.co-more__inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.co-more__copy { flex: 0 1 620px; min-width: 0; }
.co-more__copy p { max-width: 600px; padding-top: 16px; font: 400 16px/26.4px var(--font); color: var(--slate); }
.co-more__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; flex: none; }
.co-more__link { margin-right: 4px; }

/* section liên hệ dùng chung: khoảng đệm trên theo Figma của trang này */
.company-page .contact-cta { padding-top: 72px; }

/* ---------- tablet 640–1179 (thiết kế 834) ---------- */
@media (max-width: 1179px) {
  .co-hero { min-height: 1194px; }
  .co-hero__title { font-size: 48px; line-height: 57.6px; }
  .co-h2 { font-size: 36px; line-height: 43.2px; }
  .co-intro__grid { column-gap: 40px; }
  .co-more__inner { gap: 40px; }
  .co-more__copy { flex-basis: 470px; }
  .company-page .contact-cta { padding-top: 72px; }
}

/* ---------- mobile < 640 (thiết kế 390) ---------- */
@media (max-width: 639px) {
  .co-hero { min-height: 844px; }
  .co-hero__inner { padding-top: 112px; padding-bottom: 90px; }
  .co-hero__crumb { font-size: 12px; line-height: 19.8px; }
  .co-hero__body { padding-top: 44px; }
  .co-hero__eyebrow { font-size: 12px; line-height: 16.8px; }
  .co-hero__title { font-size: 36px; line-height: 43.2px; }
  .co-hero__lead { font-size: 16px; line-height: 25.6px; }
  .co-body::before { height: 110px; }

  .co-intro { padding: 56px 0; }
  .co-intro__grid { grid-template-columns: 1fr; row-gap: 30px; margin-top: 32px; }
  .co-intro--tight .co-intro__grid { margin-top: 40px; }
  .co-act__item { gap: 16px; }

  .co-more { padding: 48px 0; }
  .co-more__inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .co-more__copy { flex: none; }
  .co-more__actions { align-items: flex-start; }
  .company-page .contact-cta { padding-top: 55px; }
  .company-page .contact-cta__head .h-section { font-size: 36px; line-height: 43.2px; letter-spacing: -.035em; }
  .company-page .contact-cta__media { min-height: 260px; }
}
