/* ==========================================================================
   ABOUT PAGE STYLESHEET - MATCHING JIAHE OFFICIAL DESIGN SPECIFICATION
   ========================================================================== */

/* Page Base */
.about-page {
  color: #102538;
  background-color: #fff;
  overflow-x: hidden;
}

.company-container {
  width: min(92%, 1400px);
  margin: 0 auto;
}

.company-section {
  padding: clamp(48px, 5.5vw, 76px) 0;
}

.about-page h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #102538;
}

.about-page h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #102538;
}

.about-page p {
  color: #556270;
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
}

/* Red Eyebrow Label */
.about-page .company-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d71920;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.about-page .company-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d71920;
  flex-shrink: 0;
}

/* Split Headings */
.company-split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.company-split-heading h2 {
  margin-bottom: 0;
}

.company-split-heading > p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}




/* Red Angular Wedge on Left */




















/* Artistic Script Slogan on Banner Right */






/* ==========================================================================
   2. Company Introduction & Stats Section
   ========================================================================== */
.company-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.company-intro-text p {
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.72;
}

.company-intro-text p:last-child {
  margin-bottom: 0;
}

.company-video-wrapper {
  position: relative;
  min-width: 0;
}

.company-video.about-video-trigger {
  display: block;
  position: relative;
  padding: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  top: auto;
  left: auto;
  transform: none;
  border: 0;
  background: #111e2e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(16, 37, 56, 0.12);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.company-video.about-video-trigger::before, .company-video.about-video-trigger::after {
  content: none;
  animation: none;
}

.company-video:hover {
  box-shadow: 0 18px 40px rgba(16, 37, 56, 0.18);
}

.company-video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.company-video:hover img {
  transform: scale(1.03);
}

/* Video Play Button */
.video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a5f;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  z-index: 2;
}

.video-play-btn i {
  margin-left: 3px;
}

.company-video:hover .video-play-btn {
  background: #d71920;
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Company Stats Horizontal Row */
.company-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 50px 0 0;
  padding: 0;
  background: #ffffff;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 24px;
  border-right: 1px solid #e2e8f0;
}

.stat-card:first-child {
  padding-left: 0;
}

.stat-card:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.stat-icon-wrap img {
  width: 44px;
  height: 44px;
}

.stat-info dt {
  font-size: clamp(28px, 2.6vw, 38px);
  color: #d71920;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.stat-info dt small {
  font-size: 0.55em;
  font-weight: 600;
  color: #475569;
}

.stat-info dd {
  margin: 4px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
}

/* ==========================================================================
   3. Strengths Section (Why Choose JIAHE)
   ========================================================================== */
.company-strengths {
  background: #f4f6f8;
}

.company-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.strength-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 24px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.strength-icon-box {
  color: #d71920;
  font-size: 38px;
  width: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  line-height: 1;
}

.strength-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #102538;
}

.strength-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

/* ==========================================================================
   4. OUR FACTORY Section (Replaces Professional Manufacturing)
   ========================================================================== */
.company-factory {
  background: #ffffff;
}

.company-factory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.factory-card {
  margin: 0;
  background: #f0f2f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.factory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09);
}

.factory-img-wrap {
  position: relative;
  overflow: hidden;
  background: #1e293b;
}

.factory-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-card:hover .factory-img-wrap img {
  transform: scale(1.05);
}

.factory-card figcaption {
  padding: 16px 14px;
  text-align: center;
  background: #edf1f5;
}

.factory-card figcaption h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #102538;
  line-height: 1.35;
}

/* ==========================================================================
   5. Mission & Vision Section
   ========================================================================== */
.company-mission {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: clamp(52px, 5.5vw, 84px) 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.mission-grid-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
}

.mission-content-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-header-group {
  padding: 0;
  margin-bottom: 28px;
}

.mission-header-group .company-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #d71920;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mission-header-group .company-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d71920;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.2);
  flex-shrink: 0;
}

.mission-header-group #mission-title {
  margin: 0 0 16px;
  color: #102538;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.mission-header-group #mission-title span {
  display: block;
  color: #d71920;
}

.mission-lead-desc {
  margin: 0;
  color: #556270;
  font-size: 15.5px;
  line-height: 1.72;
  max-width: 620px;
}

/* Dual Pillar Strategy Cards */
.mission-cards-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mission-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 22px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.mission-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d71920 0%, #ff4d54 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mission-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: rgba(215, 25, 32, 0.35);
}

.mission-pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(215, 25, 32, 0.08);
  color: #d71920;
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission-pillar-card:hover .pillar-icon-box {
  background: #d71920;
  color: #ffffff;
  transform: scale(1.06);
}

.mission-pillar-card .pillar-title {
  margin: 0 0 10px;
  color: #102538;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mission-pillar-card .pillar-title::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2.5px;
  background: #d71920;
  border-radius: 2px;
  flex-shrink: 0;
}

.pillar-desc {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

/* Right Visual Showcase Frame */
.mission-visual-col {
  position: relative;
  min-width: 0;
}

.mission-showcase-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: #111e2e;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.mission-showcase-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(0.96);
}

.mission-showcase-frame:hover > img {
  transform: scale(1.03);
  filter: brightness(1);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .mission-grid-wrapper {
    gap: 28px;
  }
  .mission-pillar-card {
    padding: 20px 18px;
  }
  .mission-pillar-card .pillar-title {
    font-size: 16.5px;
  }
  .pillar-desc {
    font-size: 13.5px;
  }
}

@media (max-width: 992px) {
  .mission-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mission-header-group #mission-title {
    font-size: clamp(28px, 4.5vw, 36px);
  }
  .mission-showcase-frame {
    height: auto;
    min-height: unset;
    aspect-ratio: 16 / 10;
    max-height: 420px;
  }
}

@media (max-width: 600px) {
  .mission-cards-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mission-pillar-card {
    padding: 20px 18px;
  }
  .pillar-icon-box {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 12px;
  }
  .mission-showcase-frame {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Video Modal
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-active {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 46, 0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  width: min(100%, 1100px);
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: 80vh;
}

.video-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: #d71920;
  border-color: transparent;
  transform: rotate(90deg);
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.93);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   8. Responsive Design & Media Queries
   ========================================================================== */
@media (max-width: 1200px) {
  .company-stats {
    gap: 12px;
  }
  .stat-card {
    padding: 8px 16px;
    gap: 12px;
  }
  .stat-info dt {
    font-size: 28px;
  }
}

@media (max-width: 992px) {


  .company-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .company-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-card {
    border-right: none;
    padding: 12px 0;
  }
  .company-strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-factory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {


  .company-split-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }
  .company-split-heading > p {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .company-stats {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .company-strength-grid {
    grid-template-columns: 1fr;
  }
  .company-factory-grid {
    grid-template-columns: 1fr;
  }
  .video-play-btn {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-video:hover img, .factory-card:hover .factory-img-wrap img {
    transform: none;
  }
}
