/* ============================================
   SAIM INNOTECH FARMS — about.css
   Scoped styles สำหรับหน้า About Us เท่านั้น
   ใช้ CSS variables จาก styles.css ทั้งหมด
   ไม่มีการ redeclare :root หรือตัวแปรซ้ำ
   ============================================ */


/* ===========================================
   1. PAGE HERO
   =========================================== */
.about-hero {
  margin-top: 68px;
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 60px 80px 52px;
  background:
    linear-gradient(120deg, rgba(26,55,26,0.88) 40%, rgba(0,0,0,0.30) 100%),
    url('src/Images/หน้าอาคาร01.png') center/cover no-repeat;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  /* [แก้ไข] white → var(--white) ให้ใช้ CSS variable แทน hardcode */
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero-breadcrumb {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-hero-breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.about-hero-breadcrumb a:hover { color: var(--green-light); }

.about-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-hero h1 span { color: var(--red-brand); }


/* ===========================================
   2. COMPANY NAME BAND
   =========================================== */
.company-band {
  background: var(--green-light);
  padding: 28px 80px;
  text-align: center;
}

.company-band h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.company-band .head-office {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.2px;
}


/* ===========================================
   3. KEY FACTS STRIP
   =========================================== */
.key-facts {
  display: flex;
  border-top: 3px solid var(--green-accent);
  border-bottom: 3px solid var(--green-accent);
  background: var(--white);
}

.key-fact {
  flex: 1;
  padding: 28px 32px;
  text-align: center;
  border-right: 1px solid var(--gray-mid);
}

.key-fact:last-child { border-right: none; }

.key-fact-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.key-fact-num span { color: var(--green-accent); }

.key-fact-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
}


/* ===========================================
   4. COMPANY BODY
   =========================================== */
.company-body {
  /* [แก้ไข] เปลี่ยนจาก gradient สีฟ้า (#e8f4ff → #7ab8e8) ที่ไม่อยู่ใน palette
     → ใช้ var(--gray-light) ให้ตรงกับ theme หลัก (เหมือน products section) */
  background: var(--gray-light);
  padding: 60px 80px 80px;
}

.company-body-inner {
  max-width: 860px;
  margin: 0 auto;
}

.company-paragraph {
  /* [แก้ไข] เปลี่ยนจาก 'Montserrat' → 'Open Sans' ตาม convention ของ theme:
     Montserrat = heading/branding เท่านั้น, Open Sans = body text */
  font-family: 'Open Sans', 'Noto Sans Thai', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 2;
  margin-bottom: 28px;
  text-align: justify;
}

.company-paragraph .num-accent {
  font-size: 17px;
  color: var(--red-brand);
}


/* ===========================================
   5. VISION / MISSION
   =========================================== */
.vm-section {
  padding: 80px;
  background: var(--gray-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vm-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 36px;
  border-top: 4px solid var(--green-accent);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.vm-card.navy-card {
  background: var(--navy);
  border-top-color: var(--green-light);
}

.vm-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.vm-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.vm-card.navy-card h3 { color: var(--white); }

.vm-card p {
  font-family: 'Open Sans', 'Noto Sans Thai', sans-serif;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
}

.vm-card.navy-card p { color: rgba(255,255,255,0.75); }


/* ===========================================
   6. PROCESS
   =========================================== */
.process-section {
  padding: 80px;
  background: var(--white);
  text-align: center;
}

.process-steps {
  display: flex;
  margin-top: 48px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(10% + 36px);
  right: calc(10% + 36px);
  height: 2px;
  background: var(--gray-mid);
  z-index: 0;
}

.process-step {
  flex: 1;
  padding: 0 12px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--green-accent);
  transition: background 0.3s;
}

.process-step:hover .step-circle { background: var(--green-mid); }

.process-step h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.process-step p {
  font-family: 'Open Sans', 'Noto Sans Thai', sans-serif;
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
}


/* ===========================================
   7. CTA
   =========================================== */
.about-cta {
  padding: 80px;
  background: var(--navy);
  text-align: center;
}

.about-cta .section-label { color: var(--green-light); }

.about-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-cta p {
  font-family: 'Open Sans', 'Noto Sans Thai', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.about-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ===========================================
   8. RESPONSIVE — TABLET (max-width: 1024px)
   =========================================== */
@media (max-width: 1024px) {
  .about-hero      { padding: 60px 40px 52px; }
  .company-band    { padding: 24px 40px; }
  .company-body    { padding: 48px 40px 60px; }
  .vm-section      { padding: 60px 40px; }
  .process-section { padding: 60px 40px; }
  .about-cta       { padding: 60px 40px; }
}


/* ===========================================
   9. RESPONSIVE — MOBILE (max-width: 925px)
   =========================================== */
@media (max-width: 925px) {
  .about-hero            { padding: 48px 20px 52px; min-height: 280px; }
  .about-hero h1         { font-size: 36px; }

  .company-band          { padding: 20px; }
  .company-band h2       { font-size: 20px; }
  .company-band .head-office { font-size: 12px; }

  .company-body          { padding: 36px 20px 48px; }
  .company-paragraph     { font-size: 13px; }

  .key-facts             { flex-wrap: wrap; }
  .key-fact              { flex: 0 0 50%; border-bottom: 1px solid var(--gray-mid); }

  .vm-section            { padding: 48px 20px; grid-template-columns: 1fr; }

  .process-section       { padding: 48px 20px; }
  .process-steps         { flex-wrap: wrap; gap: 32px; }
  .process-steps::before { display: none; }
  .process-step          { flex: 0 0 calc(33.333% - 22px); }

  .about-cta             { padding: 48px 20px; }
  .about-cta h2          { font-size: 26px; }
}


/* ===========================================
   10. RESPONSIVE — SMALL MOBILE (max-width: 480px)
   =========================================== */
@media (max-width: 480px) {
  .about-hero h1             { font-size: 28px; }
  .company-band h2           { font-size: 16px; }
  .company-band .head-office { font-size: 11px; }
  .key-fact                  { flex: 0 0 100%; }
  .process-step              { flex: 0 0 calc(50% - 16px); }
  .about-cta h2              { font-size: 22px; }
}