/* ============================================================
   ABOUT PAGE — In Thành Trung  
   Premium corporate page design
   ============================================================ */

/* ---- HERO ---- */
.about-hero {
  position: relative;
  padding: 70px 0 60px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #0d1526 100%);
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(200,150,62,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59,130,246,0.06) 0%, transparent 50%);
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-hero-content h1 .text-gradient {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-hero-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}
.about-hero-badges {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.about-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(200,150,62,0.08);
  border: 1px solid rgba(200,150,62,0.2);
  border-radius: 12px;
  padding: 12px 18px;
}
.about-badge-icon { font-size: 1.5rem; }
.about-badge-text strong { display: block; color: var(--secondary); font-size: 1.2rem; }
.about-badge-text span { color: var(--text-muted); font-size: 0.82rem; }

.about-hero-visual {
  position: relative;
}
.about-hero-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.about-hero-img img {
  width: 100%; height: 420px; object-fit: cover; display: block;
}
.about-hero-float {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.about-hero-float .float-num {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-hero-float .float-label {
  color: var(--text-muted); font-size: 0.85rem; line-height: 1.3;
}

/* ---- SECTION SHARED ---- */
.about-section {
  padding: 80px 0;
}
.about-section.alt {
  background: linear-gradient(to bottom, rgba(200,150,62,0.02), var(--bg-primary));
}
.about-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.about-section-header .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(200,150,62,0.1);
  border: 1px solid rgba(200,150,62,0.2);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.about-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--text-primary);
  margin-bottom: 12px;
}
.about-section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- MISSION / VISION / VALUES ---- */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 20px 60px rgba(200,150,62,0.1);
}
.mvv-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(200,150,62,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.mvv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 12px;
}
.mvv-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary), rgba(200,150,62,0.1));
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  padding: 0 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--bg-primary);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(200,150,62,0.2);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  text-align: right;
  padding-right: 30px;
}
.timeline-content {
  padding-left: 30px;
}
.timeline-content h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}
.timeline-content p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---- TIMELINE GALLERY (cũ - giữ tương thích) ---- */
.timeline-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.tl-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.tl-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.tl-gallery-item:hover img { transform: scale(1.08); }
.tl-gallery-item span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff; font-size: 0.7rem; font-weight: 500;
  padding: 20px 8px 6px; text-align: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.tl-gallery-item:hover span { opacity: 1; }

/* ---- JOURNEY GALLERY SECTION ---- */
.journey-gallery-section {
  padding: 0 0 64px;
  background: linear-gradient(to bottom, rgba(200,150,62,0.02), var(--bg-primary));
}
.journey-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}
.jg-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.jg-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.jg-item:hover img { transform: scale(1.05); }
.jg-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 28px 16px 12px;
  opacity: 0;
  transition: opacity 0.35s ease;
  letter-spacing: 0.3px;
}
.jg-item:hover .jg-caption { opacity: 1; }

@media (max-width: 600px) {
  .journey-gallery-grid { grid-template-columns: 1fr; }
  .jg-item { aspect-ratio: 4 / 3; }
}

/* ---- MACHINE GALLERY ---- */
.machine-gallery-section {
  padding: 0 0 64px;
}
.machine-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mg-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.mg-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200,150,62,0.12);
  border-color: rgba(200,150,62,0.35);
}
.mg-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.mg-item:hover img { transform: scale(1.06); }
.mg-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 32px 14px 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  letter-spacing: 0.3px;
}
.mg-item:hover .mg-caption { opacity: 1; }
@media (max-width: 768px) {
  .machine-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .machine-gallery-grid { grid-template-columns: 1fr; }
}

/* ---- EQUIPMENT ---- */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.equip-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
}
.equip-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(200,150,62,0.08);
}
.equip-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(200,150,62,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.equip-info h4 {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.equip-info p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.equip-info .equip-spec {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  background: rgba(200,150,62,0.1);
  border-radius: 50px;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---- TEAM PHOTOS ---- */
.team-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.team-photo-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: all 0.4s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.team-photo-item:hover {
  transform: translateY(-5px);
  border-color: rgba(200,150,62,0.4);
  box-shadow: 0 20px 60px rgba(200,150,62,0.1);
}
.team-photo-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.team-photo-item:hover img { transform: scale(1.04); }
.team-photo-caption {
  padding: 20px 24px 22px;
}
.team-photo-caption h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.team-photo-caption p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .team-photos-grid { grid-template-columns: 1fr; }
  .team-photo-item img { height: 240px; }
}

/* ---- STATS ---- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.about-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: 0.3s;
}
.about-stat-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}
.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* ---- CERTIFICATIONS ---- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.cert-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: 0.3s;
}
.cert-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
}
.cert-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(34,197,94,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.cert-info h4 { color: var(--text-primary); font-size: 0.93rem; margin-bottom: 4px; }
.cert-info p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }

/* ---- AWARDS GALLERY ---- */
.awards-gallery {
  column-count: 4;
  column-gap: 24px;
  margin-bottom: 16px;
}
.award-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #faf9f6 100%);
  border: 1px solid rgba(200,150,62,0.25);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255,255,255,0.7);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: inline-block;
  width: 100%;
}
.award-item::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(200,150,62,0.15);
  border-radius: 6px;
  pointer-events: none;
  transition: border-color 0.4s ease;
}
.award-item:hover::after {
  border-color: rgba(200,150,62,0.5);
}
.award-item:hover {
  transform: translateY(-6px);
  border-color: rgba(200,150,62,0.5);
  box-shadow: 0 20px 50px rgba(200,150,62,0.15), 0 0 20px rgba(200,150,62,0.05);
}
.award-img-wrap {
  overflow: hidden;
  padding: 16px;
  position: relative;
  z-index: 1;
}
.award-img-wrap img {
  width: 100%; height: auto;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.award-item:hover .award-img-wrap img {
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .awards-gallery { column-count: 3; column-gap: 20px; }
}
@media (max-width: 600px) {
  .awards-gallery { column-count: 2; column-gap: 16px; }
  .award-item { margin-bottom: 16px; }
  .award-img-wrap { padding: 12px; }
}

/* ---- MAP SECTION ---- */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.map-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.map-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.map-card-header h4 { color: var(--text-primary); font-size: 1rem; margin-bottom: 4px; }
.map-card-header p { color: var(--text-muted); font-size: 0.85rem; }
.map-card iframe { width: 100%; height: 250px; border: 0; display: block; }

/* ---- CTA ---- */
.about-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-primary), #0d1526);
}
.about-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 12px;
}
.about-cta p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ---- CLIENT MARQUEE ---- */
.client-marquee-section {
  padding: 40px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.client-marquee-section p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.marquee-container {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 2;
  transform: translateZ(0);
}
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
.marquee-logo {
  padding: 0 40px;
  flex-shrink: 0;
}
.marquee-logo img {
  width: 160px;
  height: 70px;
  object-fit: contain;
  transition: all 0.4s ease;
  display: block;
}
.marquee-logo:hover img {
  transform: scale(1.05);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .marquee-logo {
    padding: 0 20px;
  }
  .marquee-logo img {
    width: 120px;
    height: 50px;
  }
}

/* ---- FADE UP ANIMATION ---- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-hero { padding: 50px 0 40px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-visual { order: -1; }
  .about-hero-img img { height: 280px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 1fr; gap: 0; }
  .timeline-dot { left: 20px; }
  .timeline-year { text-align: left; padding-left: 50px; padding-right: 0; }
  .timeline-content { padding-left: 50px; }
  .timeline-gallery { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .map-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .equipment-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
