/* ============================================
   style.css – สารบัญ (แก้ไขง่าย)
   ============================================
   1. Variables      – สี, ระยะ, font, gradient
   2. Base / Reset   – html, body, *
   3. Header         – .header, .nav, .btn-contact
   4. Hero           – .hero, .hero-inner, callout, slide, animations
   5. Hero bar       – .hero-bar-wrap, .hero-bar
   6. About          – .about-section, .about-card, .about-slide
   7. Content box    – vision/mission frames
   8. Clients        – .clients-section, .clients-frame, rows/cells
   9. Banner         – .banner-frame, .banner-card
   10. Out Process   – .process-section, .process-title
   11. Industries    – .industries-section, .industries-title
   12. Our Projects  – .projects-section, .projects-title
   13. Scroll top    – .scroll-top
   14. Responsive    – @media 1024px, 768px
   ============================================ */

/* ============================================
   1. Variables
   ============================================ */
:root {
  /* Font */
  --font-kanit: "Kanit", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 28px;
  --font-size-sm: 16px;
  --font-size-xs: 14px;

  /* Colors – ใช้ซ้ำทั้งหน้า */
  --color-text: #212121;
  --color-text-muted: #555;
  --color-title: #333;
  --color-accent: #20A1DB;
  --color-accent-alt: #2AB5FF;
  --color-white: #fff;
  --color-bg-hero: #1D5277;

  /* Shadows & radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-sm: 0 2px 12px rgba(0, 0, 0, 0.08);

  /* ปุ่ม + nav hover */
  --btn-gradient-start: #4279D1;
  --btn-gradient-end: #2FAAE3;
  --btn-gradient-alt-start: #3698DD;
  --btn-gradient-alt-end: #1D5277;
  --btn-gradient: linear-gradient(90deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
  --btn-gradient-stack: linear-gradient(90deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%),
    linear-gradient(90deg, var(--btn-gradient-alt-start) 0%, var(--btn-gradient-alt-end) 100%);

  /* ปุ่ม scroll ขึ้นบน */
  --scroll-btn-gradient: linear-gradient(0deg, var(--btn-gradient-alt-end) 0%, var(--btn-gradient-alt-start) 100%),
    linear-gradient(0deg, var(--btn-gradient-end) 0%, var(--btn-gradient-start) 100%);
  /* เส้นแนวตั้งหัวข้อ – เข้มบน อ่อนล่าง */
  --bar-gradient-vertical: linear-gradient(0deg, var(--btn-gradient-alt-start) 0%, var(--btn-gradient-alt-end) 100%);
  /* เส้นแนวนอน Process – อ่อนไปเข้ม (ซ้ายไปขวา) */
  --process-line-gradient: linear-gradient(90deg, #BFE9FF 0%, #2AB5FF 100%);

  --nav-color: #89939E;

  /* Layout */
  --container-max: 1280px;
  --section-padding: clamp(16px, 4vw, 48px);
  --section-padding-x: clamp(16px, 5vw, 24px);

  /* Animation */
  --ease-out: ease-out;
  --duration-fast: 0.2s;
  --duration-mid: 0.35s;
}

/* ============================================
   2. Base / Reset
   ============================================ */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   3. Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 76px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 44px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  height: 100%;
  text-decoration: none;
}

.logo img {
  width: 190px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: none;
  font-family: var(--font-kanit);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--color-title);
}

.logo-text-accent {
  color: var(--color-accent);
}

/* โหมดใช้โลโก้ตัวอักษรแทนภาพ (เปลี่ยนที่ class บน <body>) */
body.logo-mode-text .logo img {
  display: none;
}

body.logo-mode-text .logo-text {
  display: inline-block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--nav-color);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--line-height-base);
}

.nav a:hover {
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 134px;
  height: 36px;
  padding: 0;
  background: var(--btn-gradient-stack);
  color: var(--color-white);
  font-family: var(--font-kanit);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--line-height-base);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-contact:hover {
  opacity: 0.95;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--color-title);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================
   4. Hero – Section & Background
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  line-height: 0;
  background: var(--color-bg-hero);
  overflow-x: hidden;
}

.hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* จำกัด content ให้อยู่กลางจอ จอใหญ่ไม่เลื่อน */
.hero-inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Hero - Title & Subtitle (กลาง) */
.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(8px, 1.2vw, 12px);
  padding: clamp(10px, 2vw, 20px) clamp(12px, 2.5vw, 24px) 0;
}

.hero-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  text-align: center;
  color: var(--color-white);
}

.hero-subtitle {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: clamp(12px, 1.35vw, 16px);
  line-height: 1.25;
  text-align: center;
  color: var(--color-white);
}

/* ============================================
   Hero - Callout (กรอบขาว) ซ้าย & ขวา
   ============================================ */
.hero-callout {
  position: absolute;
  left: clamp(8px, 3vw, 72px);
  top: 50%;
  transform: translateY(-50%) translateX(-100%);
  z-index: 2;
  max-width: clamp(170px, 25vw, 320px);
  padding: clamp(10px, 1.4vw, 20px) clamp(12px, 1.8vw, 24px);
  padding-bottom: clamp(28px, 4vw, 48px);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
}

.hero.is-in-view .hero-callout {
  animation: hero-slide-in 1s 0.15s ease-out forwards;
}

.hero-callout-line1 {
  margin: 0 0 8px;
  font-family: var(--font-kanit);
  font-weight: 500;
  font-size: clamp(13px, 1.7vw, 20px);
  line-height: 1.25;
  color: var(--color-accent);
}

.hero-callout-line2 {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: clamp(11px, 1.3vw, 16px);
  line-height: 1.25;
  color: #000;
}

.hero-callout-right {
  left: auto;
  right: clamp(8px, 3vw, 72px);
  transform: translateY(-50%) translateX(100%);
  padding-bottom: 48px;
  opacity: 0;
}

.hero.is-in-view .hero-callout-right {
  animation: hero-callout-in-from-right 1s 0.15s ease-out forwards;
}

/* ============================================
   Hero - Slide (รูป) เกาะมุมกรอบขาว
   ============================================ */
.hero-slide {
  position: absolute;
  z-index: 3;
  width: clamp(56px, 7.8vw, 100px);
  height: auto;
  opacity: 0;
}

.hero-slide-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: clamp(68px, 9vw, 120px);
  object-fit: contain;
}

/* slide_01: มุมซ้ายบนของรูป ทับมุมล่างขวาของกล่องซ้าย (ทับกันนิดนึง) */
.hero-slide--br {
  left: 100%;
  top: 100%;
  transform: translate(-20%, -20%);
}

.hero-slide--br .hero-slide-img {
  object-position: left top;
}

.hero.is-in-view .hero-slide--br {
  animation: hero-slide-in-from-corner 0.6s 0.2s ease-out forwards;
}

/* slide_02: มุมขวาบนของรูป ทับมุมล่างซ้ายของกล่องขวา (ทับกันนิดนึง) */
.hero-slide--bl {
  right: 100%;
  top: 100%;
  transform: translate(20%, -20%);
}

.hero-slide--bl .hero-slide-img {
  object-position: right top;
}

@keyframes hero-slide-in-from-corner {
  from {
    opacity: 0;
    transform: translate(-20%, -20%) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(-20%, -20%) scale(1);
  }
}

.hero.is-in-view .hero-slide--bl {
  animation: hero-slide-in-from-corner-bl 0.6s 0.2s ease-out forwards;
}

@keyframes hero-slide-in-from-corner-bl {
  from {
    opacity: 0;
    transform: translate(20%, -20%) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(20%, -20%) scale(1);
  }
}

/* ============================================
   Hero - Animations
   ============================================ */
@keyframes hero-slide-in {
  from {
    transform: translateY(-50%) translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

@keyframes hero-slide-in-from-left {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes hero-slide-in-from-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes hero-callout-in-from-right {
  from {
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

/* ============================================
   5. Hero bar
   ============================================ */
.hero-bar-wrap {
  display: flex;
  justify-content: center;
  margin-top: -50px;
  padding: 0 var(--section-padding-x);
  position: relative;
  z-index: 10;
  max-width: 100%;
  overflow-x: hidden;
}

.hero-bar {
  width: 100%;
  max-width: 1110px;
  min-height: 180px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #EEF6FC;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(100%);
}

.hero-bar-wrap.is-in-view .hero-bar {
  animation: hero-bar-slide-up 1s 0.15s ease-out forwards;
}

.hero-bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.hero-bar-circle {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-bar-text {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: #000;
}

.hero-bar-highlight {
  color: var(--color-accent-alt);
  white-space: nowrap;
}

@keyframes hero-bar-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================
   6. About section
   ============================================ */
.about-section {
  display: flex;
  align-items: center;
  min-height: 460px;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--section-padding) var(--section-padding-x);
  gap: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.about-visual {
  flex: 1;
  min-width: 0;
  position: relative;
  height: clamp(260px, 38vw, 442px);
  padding-right: 0;
  opacity: 0;
  transform: translateX(-100%);
  transition: none;
}

.about-section.is-in-view .about-visual {
  animation: about-visual-in 0.9s ease-out forwards;
}

@keyframes about-visual-in {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.about-slide {
  display: block;
  object-fit: cover;
  border-radius: 12px;
  position: absolute;
}

.about-slide-03 {
  width: 100%;
  max-width: 538px;
  height: auto;
  aspect-ratio: 538 / 362;
  left: 0;
  top: 0;
  z-index: 1;
}

.about-slide-04 {
  width: 62%;
  max-width: 335px;
  height: auto;
  aspect-ratio: 335 / 242;
  left: 41%;
  top: 45%;
  z-index: 2;
}

.about-card {
  flex-shrink: 0;
  width: 55%;
  min-width: 360px;
  margin-left: -160px;
  padding: 32px 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateX(100%);
  transition: none;
}

.about-section.is-in-view .about-card {
  animation: about-card-in 0.9s 0.15s ease-out forwards;
}

@keyframes about-card-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.about-title {
  margin: 0 0 20px;
  font-family: var(--font-kanit);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.25;
  color: var(--color-accent-alt);
}

.about-text {
  margin: 0 0 16px;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
}

.about-text:last-child {
  margin-bottom: 0;
}

/* ============================================
   7. Content box (Vision / Mission)
   ============================================ */
.content-box-wrap {
  display: flex;
  justify-content: center;
  padding: 12px var(--section-padding-x) var(--section-padding);
  overflow-x: hidden;
  max-width: 100%;
}

.content-box {
  width: 100%;
  max-width: 1110px;
  min-height: 300px;
  border-radius: var(--radius-md);
  background: url("assets/img/content_01.svg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 21px 22px;
  box-sizing: border-box;
}

.content-box-frame {
  width: 380px;
  max-width: calc(50% - 12px);
  min-height: 150px;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.content-box-frame .content-box-title {
  margin: 0 0 8px 0;
  font-family: var(--font-kanit);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--color-accent);
}

.content-box-frame .content-box-text {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--color-title);
}

/* ============================================
   8. Our Clients
   ============================================ */
.clients-section {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--section-padding) var(--section-padding-x);
  overflow-x: hidden;
  box-sizing: border-box;
}

.clients-title {
  margin: 0 0 24px 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: 34px;
  line-height: 125%;
  color: var(--color-title);
}

.clients-frame {
  width: 100%;
  max-width: 1296px;
  height: 380px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  background: url("assets/img/content_01.svg") center / cover no-repeat;
  overflow: hidden;
  box-sizing: border-box;
}

.clients-frame-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.clients-row {
  flex: 1;
  display: flex;
  min-height: 0;
  opacity: 0;
  transform: translateX(-100%);
  transition: none;
}

.clients-row:nth-child(odd) {
  flex-direction: row-reverse;
  transform: translateX(100%);
}

.clients-section.is-in-view .clients-row:nth-child(1) {
  animation: clients-row-in-from-right 0.5s ease-out forwards;
}

.clients-section.is-in-view .clients-row:nth-child(2) {
  animation: clients-row-in-from-left 0.5s 0.12s ease-out forwards;
}

.clients-section.is-in-view .clients-row:nth-child(3) {
  animation: clients-row-in-from-right 0.5s 0.24s ease-out forwards;
}

.clients-section.is-in-view .clients-row:nth-child(4) {
  animation: clients-row-in-from-left 0.5s 0.36s ease-out forwards;
}

@keyframes clients-row-in-from-right {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes clients-row-in-from-left {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.clients-cell {
  flex: 1;
  min-width: 0;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.clients-cell-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ============================================
   9. Banner frame
   ============================================ */
.banner-frame-wrap {
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.banner-frame {
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: url("assets/img/banner-bg.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-frame-inner {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.banner-card {
  flex: 1;
  height: auto;
  min-height: 520px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px;
  box-sizing: border-box;
}

.banner-card-img-wrap {
  flex-shrink: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.banner-card-img {
  width: 100%;
  max-width: 140px;
  height: auto;
  max-height: 84px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}

/* ข้อความการ์ด – อยู่เหนือ overlay, เปลี่ยนสีเมื่อ hover */
.banner-card-title,
.banner-card-desc,
.banner-card-list {
  position: relative;
  z-index: 2;
}

.banner-card-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  color: var(--color-title);
  transition: color var(--duration-mid) var(--ease-out);
}

.banner-card-desc {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  text-align: center;
  color: var(--color-text-muted);
  transition: color var(--duration-mid) var(--ease-out);
}

.banner-card-list {
  margin: 0;
  padding: 0 0 0 1.2em;
  list-style: none;
  text-align: left;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}

.banner-card-list li {
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 0.4em;
  transition: color var(--duration-mid) var(--ease-out);
}

.banner-card-list li::before {
  content: "•";
  position: absolute;
  left: -0.6em;
  color: inherit;
}

.banner-card:not(.banner-card--wide):hover .banner-card-title,
.banner-card:not(.banner-card--wide):hover .banner-card-desc,
.banner-card:not(.banner-card--wide):hover .banner-card-list li {
  color: var(--color-white);
}

.banner-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: #000;
  border-radius: var(--radius-md);
  transform: translateY(100%);
  transition: transform var(--duration-mid) var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.banner-card:not(.banner-card--wide):hover::before {
  transform: translateY(0);
}

.banner-card--wide {
  flex: 1.6;
  height: auto;
  min-height: 520px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 28px 24px;
}

.banner-services-head {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.banner-services-bar {
  flex-shrink: 0;
  width: 12px;
  min-height: 1.4em;
  border-radius: 0;
  background: var(--bar-gradient-vertical);
}

.banner-services-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-style: normal;
  font-size: 34px;
  line-height: 125%;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

/* แท็กชื่อบริษัท – สีเดียวกับปุ่ม Contact Us ไม่มีกรอบขาว */
.banner-company-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  overflow: hidden;
}

.banner-company-tag-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--btn-gradient);
  transition: transform var(--duration-mid) var(--ease-out);
  z-index: 0;
}

.banner-company-tag-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-white);
  transition: color var(--duration-mid) var(--ease-out),
    background var(--duration-mid) var(--ease-out),
    -webkit-background-clip var(--duration-mid) var(--ease-out),
    background-clip var(--duration-mid) var(--ease-out);
}

.banner-services-desc {
  margin: 18px 0 0;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

.banner-services-desc strong {
  font-weight: 700;
}

/* Hover การ์ดใหญ่: ม่านพื้นหลังหดไปทางซ้าย ตัวอักษรเป็นสี gradient */
.banner-card--wide:hover .banner-company-tag-bg {
  transform: translateX(-100%);
}

.banner-card--wide:hover .banner-company-tag-text {
  color: transparent;
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ============================================
   Out Process
   ============================================ */
.process-section {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--section-padding) var(--section-padding-x);
  overflow-x: hidden;
  box-sizing: border-box;
}

.process-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: 34px;
  line-height: 125%;
  letter-spacing: 0;
  color: var(--color-title);
}

.process-title-accent {
  color: var(--color-accent);
}

.process-desc {
  margin: 0;
  margin-top: 1em;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--color-body, #333);
}

.process-grid {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-row {
  display: grid;
  grid-template-columns: 1fr 172px 1fr 172px 1fr;
  align-items: start;
  justify-items: center;
  gap: 0 0.5rem;
}

.process-connector {
  width: 172px;
  height: 8px;
  background: var(--process-line-gradient);
  border-radius: 4px;
  justify-self: center;
  align-self: center;
  transform: scaleX(0);
  transform-origin: left center;
}

/* ไป: 1→2→3→4 กาง | ถือไว้ | กลับ: 4→3→2→1 หดหมด | ค้างว่างแล้วค่อยกางใหม่ */
.process-section.is-in-view .process-row:nth-child(1) .process-connector:nth-child(2) {
  animation: process-line-1 8s ease-in-out 0s infinite;
}
.process-section.is-in-view .process-row:nth-child(1) .process-connector:nth-child(4) {
  animation: process-line-2 8s ease-in-out 0.5s infinite;
}
.process-section.is-in-view .process-row:nth-child(2) .process-connector:nth-child(2) {
  animation: process-line-3 8s ease-in-out 1s infinite;
}
.process-section.is-in-view .process-row:nth-child(2) .process-connector:nth-child(4) {
  animation: process-line-4 8s ease-in-out 1.5s infinite;
}

/* กาง 0, 0.5, 1, 1.5s | หด 3.5, 4, 4.5, 5s (ห่างกัน 0.5s เท่ากัน) */
@keyframes process-line-1 {
  0% { transform: scaleX(0); }
  6.25% { transform: scaleX(1); }
  62.5% { transform: scaleX(1); }
  68.75% { transform: scaleX(0); }
  100% { transform: scaleX(0); }
}
@keyframes process-line-2 {
  0% { transform: scaleX(0); }
  6.25% { transform: scaleX(1); }
  50% { transform: scaleX(1); }
  56.25% { transform: scaleX(0); }
  100% { transform: scaleX(0); }
}
@keyframes process-line-3 {
  0% { transform: scaleX(0); }
  6.25% { transform: scaleX(1); }
  37.5% { transform: scaleX(1); }
  43.75% { transform: scaleX(0); }
  100% { transform: scaleX(0); }
}
@keyframes process-line-4 {
  0% { transform: scaleX(0); }
  6.25% { transform: scaleX(1); }
  25% { transform: scaleX(1); }
  31.25% { transform: scaleX(0); }
  100% { transform: scaleX(0); }
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-self: stretch;
}

.process-img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.process-item-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  letter-spacing: 0;
  color: var(--color-accent);
  text-align: center;
}

.process-item-desc {
  margin: 0;
  margin-top: 0.25em;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--color-body, #333);
  text-align: center;
}

/* ============================================
   11. Industries
   ============================================ */
.industries-section {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--section-padding) var(--section-padding-x);
  box-sizing: border-box;
}

.industries-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: 34px;
  line-height: 125%;
  letter-spacing: 0;
  color: var(--color-title);
}

.industries-frame {
  width: 100%;
  max-width: 100%;
  height: 495px;
  margin: 1.5rem 0 0;
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.industries-item {
  position: relative;
  flex: 1 1 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  cursor: default;
}

.industries-item::after {
  content: "";
  position: absolute;
  inset: 0;
  /* พื้นขาวจางๆ ตอนยังไม่ hover */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.25s ease-out;
}

/* ม่านดำเวลา hover */
.industries-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(100%);
  transition: transform 0.35s ease-out;
  z-index: 2;
}

.industries-item:hover::before {
  transform: translateY(0);
}

.industries-item:hover::after {
  /* ตอน hover เอา gradient ขาวออกให้เหลือแค่ม่านดำ */
  opacity: 0;
}

.industries-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}

.industries-text {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.industries-label {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-title);
  text-align: left;
  white-space: nowrap;
  transition: color 0.25s ease-out;
}

.industries-desc {
  margin: 4px 0 0;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
  color: #ffffff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s ease-out, max-height 0.3s ease-out;
}

.industries-item:hover .industries-label {
  color: #ffffff;
}

.industries-item:hover .industries-desc {
  opacity: 1;
  max-height: 420px;
}

.industries-item:hover .industries-text {
  transform: none;
}

/* ============================================
   Our Projects
   ============================================ */
.projects-section {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--section-padding) var(--section-padding-x);
  overflow-x: hidden;
  box-sizing: border-box;
}

.join-us-section {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--section-padding-x) var(--section-padding);
  box-sizing: border-box;
}

.join-us-visual {
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.join-us-visual-img {
  display: block;
  width: 100%;
  height: auto;
}

.join-us-overlay-img {
  position: absolute;
  right: 0;
  bottom: 0px;
  width: min(36%, 390px);
  height: auto;
  pointer-events: none;
}

.join-us-content {
  position: absolute;
  top: 50%;
  left: clamp(20px, 8vw, 80px);
  transform: translateY(-50%);
  width: min(62%, 700px);
  z-index: 2;
}

.join-us-content-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: #021537;
}

.join-us-content-desc,
.join-us-content-email {
  margin: 0;
  margin-top: 12px;
  font-family: var(--font-kanit);
  font-size: clamp(15px, 1.25vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  color: #021537;
}

.join-us-content-email {
  margin-top: 8px;
}

.join-us-content-email-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.open-positions-section {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  margin-top: 24px;
  padding: 0 var(--section-padding-x) var(--section-padding);
  box-sizing: border-box;
}

.open-positions-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.open-position-card {
  background: #ffffff;
  border: 1px solid #d9dde6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(17, 37, 70, 0.06);
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.open-position-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.open-position-body {
  padding: 16px 14px 18px;
  flex: 1;
}

.open-position-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-accent);
}

.open-position-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-kanit);
  color: #0f2040;
  font-size: 15px;
  line-height: 1.55;
}

.open-position-list li + li {
  margin-top: 6px;
}

.open-position-list li::before {
  content: "-";
  margin-right: 4px;
}

.connect-section {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--section-padding-x) var(--section-padding);
  box-sizing: border-box;
  text-align: center;
  position: relative;
  z-index: 0;
}

.connect-section::before {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background-image: url("assets/background/digital-technology-wave-light-cyberspace-with-motion-dots-futuristic-digital-background-artificial-intelligence-big-data-analytics 1.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.connect-card {
  width: 100%;
  max-width: 1112px;
  min-height: 471px;
  margin: 24px auto 0;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  opacity: 1;
  background: #ffffff;
  border: 1px solid #d9dde6;
  overflow: hidden;
}

.connect-card-col {
  flex: 1 1 0;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.connect-card-col--form {
  flex: 1.45 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.connect-card-col--right {
  flex: 0.85 1 0;
  border-left: 1px solid #e6eaf2;
  background-image: linear-gradient(rgba(8, 24, 56, 0.58), rgba(8, 24, 56, 0.58)), url("assets/background/connect_bg.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 18px 24px;
}

.connect-card-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-size: 28px;
  font-weight: 600;
  color: #1a2440;
}

.connect-form {
  margin-top: 22px;
  width: 100%;
  max-width: 720px;
  text-align: left;
}

.connect-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.connect-form-group {
  margin-top: 16px;
}

.connect-form-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-kanit);
  font-size: 20px;
  font-weight: 500;
  color: #4a4a4a;
}

.connect-form-input {
  width: 100%;
  height: 54px;
  box-sizing: border-box;
  border: 1px solid #d2d5dc;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 14px;
  font-family: var(--font-kanit);
  font-size: 18px;
  color: #3f3f3f;
}

.connect-form-input::placeholder {
  color: #8e8e8e;
}

.connect-form-textarea {
  height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.connect-form-submit {
  margin: 16px auto 0;
  min-width: 190px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #2AB5FF;
  color: #ffffff;
  font-family: var(--font-kanit);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: block;
}

.connect-form-submit:disabled {
  background: linear-gradient(90deg, #d9dee3 0%, #cfd6dd 100%);
  color: #f7f8fa;
  cursor: not-allowed;
}

.connect-info {
  width: 100%;
  max-width: 300px;
  display: grid;
  gap: 10px;
}

.connect-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-kanit);
  font-size: clamp(13px, 1vw, 20px);
  font-weight: 600;
  line-height: 1.15;
}

.connect-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2AB5FF;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.connect-info-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect-map-wrap {
  width: 100%;
  max-width: 1112px;
  margin: 18px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d9dde6;
}

.connect-map-frame {
  display: block;
  width: 100%;
  height: 360px;
}

.site-footer {
  max-width: none;
  width: 100%;
  min-height: 170px;
  margin: 26px auto 0;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  opacity: 1;
  overflow: hidden;
  background: linear-gradient(90deg, #2b7fd1 0%, #2faee6 100%);
}

.site-footer-inner {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
}

.site-footer-left {
  flex: 0 0 34%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer-logo-text {
  display: none;
  font-family: var(--font-kanit);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  color: #ffffff;
}

body.logo-mode-text .site-footer-logo {
  display: none;
}

body.logo-mode-text .site-footer-logo-text {
  display: inline-block;
}

.site-footer-right {
  flex: 1;
  color: #ffffff;
}

.site-footer-company {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.site-footer-address {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.5;
  opacity: 0.95;
}

.site-footer-contact-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
}

.site-footer-contact-icon {
  font-size: 20px;
  line-height: 1;
}

.projects-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: 34px;
  line-height: 125%;
  letter-spacing: 0;
  color: var(--color-title);
}

.projects-title-accent {
  color: var(--color-accent);
}

.projects-desc {
  margin: 0;
  margin-top: 1em;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  letter-spacing: 0;
  color: var(--color-body, #333);
}

.projects-slider-wrap {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.projects-slider {
  flex: 1;
  min-width: 0;
}

.projects-viewport {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px 32px;
  overflow-x: hidden;
  overflow-y: visible;
}

.projects-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s var(--ease-out);
}

.project-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 620px;
  padding: 24px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-radius: 24px;
  border: 1px solid rgba(32, 161, 219, 0.06);
  box-shadow:
    0 14px 30px rgba(26, 52, 84, 0.10),
    0 2px 8px rgba(26, 52, 84, 0.05);
  opacity: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 14px;
  align-items: start;
  align-content: start;
  box-sizing: border-box;
  overflow: visible;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(32, 161, 219, 0.12);
  box-shadow:
    0 22px 46px rgba(26, 52, 84, 0.14),
    0 8px 18px rgba(26, 52, 84, 0.08);
}

.project-card-logo {
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-title);
}

.project-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.project-card-title {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-title);
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: start;
}

.project-card-desc {
  margin: 0;
  font-family: var(--font-kanit);
  font-weight: 400;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-text);
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-card-desc img {
  width: 100%;
  max-width: 300px;
  height: 210px;
  display: block;
  object-fit: contain;
  object-position: center;
  margin-top: 10px;
  margin-bottom: 18px;
}

.projects-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: #8ea0b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.projects-arrow:hover:not(:disabled) {
  color: var(--color-accent);
  transform: scale(1.08);
}

.projects-arrow-icon {
  width: 40px;
  height: 40px;
  display: block;
}

.projects-arrow-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.projects-dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.projects-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5dbe7;
  flex-shrink: 0;
  transition: width 0.35s ease, border-radius 0.35s ease, background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.projects-dot:hover {
  background: #b8c1d4;
  transform: scale(1.15);
}

.projects-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--color-accent);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .projects-track {
    gap: 16px;
  }

  .projects-slider-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "viewport viewport viewport"
      "prev dots next";
    align-items: center;
    row-gap: 14px;
    column-gap: 10px;
  }

  .projects-arrow--prev {
    grid-area: prev;
  }

  .projects-arrow--next {
    grid-area: next;
  }

  .projects-slider {
    display: contents;
  }

  .projects-viewport {
    grid-area: viewport;
  }

  .projects-dots {
    grid-area: dots;
    margin-top: 0;
  }

  .project-card {
    flex: 0 0 100%;
    min-height: auto;
  }
}

/* ============================================
   13. Scroll to top
   ============================================ */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--scroll-btn-gradient);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.scroll-top-icon {
  width: 20px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* ============================================
   14. Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-callout,
  .hero-callout-right,
  .hero-slide {
    display: none !important;
  }

  .hero-bar-wrap {
    margin-top: -48px;
  }

  .hero-title {
    font-size: clamp(20px, 3.5vw, 28px);
  }

  .hero-subtitle {
    font-size: clamp(11px, 1.9vw, 14px);
  }

  .hero-callout {
    max-width: 220px;
    top: 56%;
    padding: 10px 12px 30px;
  }

  .hero-callout-line1 {
    font-size: 14px;
  }

  .hero-callout-line2 {
    font-size: 12px;
  }

  .hero-slide {
    width: 64px;
  }

  .hero-slide-img {
    max-height: 76px;
  }

  .hero-bar {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }

  .about-section {
    flex-direction: column;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-visual {
    width: 100%;
    height: clamp(220px, 50vw, 320px);
  }

  .about-slide-04 {
    top: 88% !important;
    bottom: auto;
  }

  .about-card {
    width: 92%;
    max-width: 760px;
    min-width: 0;
    margin-left: 0;
    margin-top: 100px;
    padding: 24px 22px;
  }

  .content-box {
    flex-direction: column;
    gap: 20px;
    padding: 24px 16px;
  }

  .content-box-frame {
    width: 100%;
    max-width: 100%;
  }

  .clients-frame {
    height: auto;
    min-height: 320px;
    background: #fff;
  }

  .clients-frame-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(88px, auto);
  }

  .clients-row {
    display: contents;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .clients-row:nth-child(odd) {
    flex-direction: initial;
    transform: none;
  }

  .clients-cell {
    min-height: 88px;
    padding: 10px;
  }

  .banner-frame {
    height: auto;
    min-height: 360px;
    padding: 28px 0;
  }

  .banner-frame-inner {
    flex-wrap: wrap;
    padding: 0 var(--section-padding-x);
    gap: 16px;
  }

  .banner-card,
  .banner-card--wide {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    min-height: 140px;
  }

  .process-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
  }

  .process-row {
    display: contents;
  }

  .process-connector {
    display: none;
  }

  .process-item {
    width: 100%;
    max-width: 230px;
    margin: 0 auto;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
    padding-bottom: 10px;
  }

  .process-item::after {
    content: none;
  }

  .process-item.process-step--1::after,
  .process-item.process-step--3::after,
  .process-item.process-step--5::after {
    content: "";
    width: 52px;
    height: 6px;
    border-radius: 999px;
    background: var(--process-line-gradient);
    position: absolute;
    top: 56px;
    right: -30px;
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0.3;
    z-index: 0;
  }

  .process-img,
  .process-item-title,
  .process-item-desc {
    position: relative;
    z-index: 1;
  }

  .process-item.process-step--1::after {
    animation: process-pair-line-1 4.8s ease-in-out infinite;
  }

  .process-item.process-step--3::after {
    animation: process-pair-line-2 4.8s ease-in-out infinite;
  }

  .process-item.process-step--5::after {
    animation: process-pair-line-3 4.8s ease-in-out infinite;
  }

  .process-img {
    max-width: 110px;
  }

  .process-item-title {
    font-size: 20px;
  }

  .process-item-desc {
    font-size: 15px;
    line-height: 1.45;
  }

  @keyframes process-pair-line-1 {
    0%, 5% { transform: scaleX(0); opacity: 0.3; }
    10%, 85% { transform: scaleX(1); opacity: 1; }
    90%, 100% { transform: scaleX(0); opacity: 0.3; }
  }

  @keyframes process-pair-line-2 {
    0%, 15% { transform: scaleX(0); opacity: 0.3; }
    20%, 70% { transform: scaleX(1); opacity: 1; }
    75%, 100% { transform: scaleX(0); opacity: 0.3; }
  }

  @keyframes process-pair-line-3 {
    0%, 35% { transform: scaleX(0); opacity: 0.3; }
    40%, 60% { transform: scaleX(1); opacity: 1; }
    65%, 100% { transform: scaleX(0); opacity: 0.3; }
  }

  .industries-frame {
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(230px, 1fr));
  }

  .industries-item {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 300px;
  }

  .open-positions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connect-card {
    min-height: 420px;
  }
}

@media (max-width: 1024px) {
  .header {
    height: 68px;
    padding: 8px 10px;
  }

  .header-inner {
    position: relative;
    padding: 0 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-right {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    z-index: 120;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  }

  .header.menu-open .header-right {
    display: flex;
  }

  .header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav a {
    font-size: var(--font-size-sm);
    line-height: 1.4;
  }

  .logo img {
    width: 140px;
    height: auto;
  }

  .logo-text {
    font-size: 28px;
  }

  .btn-contact {
    width: 100%;
    height: 40px;
    font-size: var(--font-size-sm);
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  .hero-bar-wrap {
    margin-top: -22px;
  }

  .hero-title {
    font-size: clamp(16px, 5.2vw, 22px);
  }

  .hero-subtitle {
    font-size: 11px;
    max-width: 86%;
  }

  .hero-callout {
    max-width: 44vw;
    top: 68%;
    padding: 8px 9px 20px;
    border-radius: 10px;
  }

  .hero-callout-line1 {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .hero-callout-line2 {
    font-size: 10px;
  }

  .hero-slide {
    width: 48px;
  }

  .hero-slide-img {
    max-height: 52px;
  }

  .about-title {
    font-size: 26px;
  }

  .about-text {
    font-size: var(--font-size-sm);
  }

  .about-slide-04 {
    top: 122% !important;
    bottom: auto;
  }

  .about-card {
    width: 94%;
    margin-top: 200px;
    padding: 20px 16px;
  }

  .clients-frame {
    height: auto;
    min-height: 280px;
    background: #fff;
  }

  .clients-cell {
    border: none;
    box-shadow: none;
    min-height: 78px;
    padding: 8px;
  }

  .clients-title {
    font-size: 22px;
  }

  .banner-card,
  .banner-card--wide {
    flex: 1 1 100%;
  }

  .banner-card-title {
    font-size: 16px;
    line-height: 1.3;
  }

  .banner-card-desc,
  .banner-card-list li {
    font-size: 13px;
    line-height: 1.45;
  }

  .banner-services-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .banner-frame {
    min-height: 320px;
  }

  .industries-frame {
    grid-template-rows: repeat(2, minmax(340px, 1fr));
  }

  .industries-item {
    height: auto;
    min-height: 340px;
  }

  .industries-text {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .industries-label {
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  .industries-desc {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.3;
  }

  .industries-item:hover .industries-desc {
    max-height: 260px;
  }

  .project-card-title {
    font-size: 16px;
    line-height: 1.35;
  }

  .project-card-desc {
    font-size: 13px;
    line-height: 1.45;
  }

  .project-card-desc img {
    height: 180px;
    margin-bottom: 14px;
  }

  .join-us-overlay-img {
    width: min(50%, 320px);
    right: 0px;
  }

  .join-us-content {
    left: 24px;
    width: min(64%, 420px);
  }

  .join-us-content-title {
    font-size: clamp(20px, 5.4vw, 30px);
  }

  .join-us-content-desc,
  .join-us-content-email {
    font-size: clamp(11px, 2.3vw, 14px);
    line-height: 1.45;
  }

  .open-positions-grid {
    grid-template-columns: 1fr;
  }

  .open-position-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .open-position-list {
    font-size: 14px;
    line-height: 1.5;
  }

  .open-position-image {
    height: 168px;
  }

  .open-position-card {
    min-height: auto;
  }

  .connect-card {
    min-height: auto;
    flex-direction: column;
  }

  .connect-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .connect-form-label {
    font-size: 18px;
  }

  .connect-form-input {
    height: 48px;
    font-size: 16px;
  }

  .connect-form-textarea {
    height: 108px;
  }

  .connect-form-submit {
    min-width: 176px;
    height: 44px;
    font-size: 22px;
  }

  .projects-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .connect-card-col--right {
    min-height: 260px;
    border-left: 0;
    border-top: 1px solid #e6eaf2;
  }

  .connect-info {
    max-width: 100%;
  }

  .connect-info-item {
    font-size: clamp(13px, 4vw, 20px);
  }

  .connect-info-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 15px;
  }

  .connect-info-icon svg {
    width: 16px;
    height: 16px;
  }

  .connect-map-frame {
    height: 280px;
  }

  .site-footer {
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    margin-top: 22px;
  }

  .site-footer-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
  }

  .site-footer-left {
    width: 100%;
    justify-content: flex-start;
  }

  .site-footer-logo {
    max-width: 170px;
  }

  .site-footer-company {
    font-size: 20px;
  }

  .site-footer-address {
    font-size: 15px;
  }

  .site-footer-contact-link {
    font-size: 16px;
  }
}

@media (min-width: 1025px) {
  .menu-toggle {
    display: none;
  }

  .header-right {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 44px;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
}
