/*
 * Singh Solar Cell — Complete Stylesheet
 * Source: singhsolar-home.html (original) + Elementor overrides + Wix Process styles
 * DO NOT edit manually — regenerate from singhsolar-home.html
 */

/* ===== Google Font Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800;900&display=swap');

/* ===== Elementor Full-Width Override ===== */
/* ปัญหา: Elementor ใส่ max-width:1140px บนทุก container และ display:flex บน widget-wrap
   ซึ่งทำให้ HTML sections ของเราแสดงผลเพี้ยน ต้อง reset ทุกชั้น */

/* 1. เปิด container ให้ full-width */
.elementor-section-full_width > .elementor-container,
.elementor-section-boxed > .elementor-container,
.elementor-top-section > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 2. Column ต้องกว้าง 100% */
.elementor-top-section > .elementor-container > .elementor-column {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* 3. Widget-wrap: เปลี่ยนจาก flex เป็น block เพื่อให้ HTML ภายในแสดงผลถูกต้อง */
.elementor-widget-wrap.elementor-element-populated {
  display: block !important;
  padding: 0 !important;
  width: 100% !important;
}

/* 4. Widget-html: block + full width */
.elementor-widget-html {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 5. Section itself: no padding/margin */
.elementor-section.elementor-top-section {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ===== RESET & ROOT ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      /* ── Brand Colors ── */
      --navy:    #061A33;
      --navy2:   #0A2D5C;
      --blue:    #0067D8;
      --cyan:    #17BDEB;
      --solar:   #FFC928;
      --orange:  #F59E0B;
      --green:   #18A957;
      --soft:    #F3F8FD;
      --white:   #FFFFFF;
      --text:    #0F172A;
      --muted:   #4A5568;  /* เพิ่ม contrast: 5.1:1 vs soft bg (WCAG AA ✅) */
      --border:  #DDE7F0;

      /* ── Spacing Scale (8px base) ── */
      --sp-1:  8px;
      --sp-2:  16px;
      --sp-3:  24px;
      --sp-4:  32px;
      --sp-6:  48px;
      --sp-8:  64px;
      --sp-10: 80px;
      --sp-12: 96px;
      --sp-16: 128px;

      /* ── Border Radius System ── */
      --radius-sm:  6px;
      --radius-md:  12px;
      --radius-lg:  16px;
      --radius-xl:  24px;
      --radius-2xl: 32px;
      --radius-full: 9999px;
      --radius: 16px; /* backward compat */

      /* ── Shadow System ── */
      --shadow-xs:  0 1px 3px rgba(6,26,51,.06);
      --shadow-sm:  0 4px 12px rgba(6,26,51,.08);
      --shadow:     0 8px 24px rgba(6,26,51,.10);
      --shadow-md:  0 12px 32px rgba(6,26,51,.12);
      --shadow-lg:  0 20px 48px rgba(6,26,51,.15);
      --shadow-xl:  0 32px 64px rgba(6,26,51,.18);
      --shadow-solar:  0 6px 20px rgba(255,201,40,.35);
      --shadow-solar-hover: 0 10px 28px rgba(255,201,40,.45);
      --shadow-blue:   0 6px 20px rgba(0,103,216,.25);

      /* ── Transition System ── */
      --ease:       cubic-bezier(.4,0,.2,1);
      --t-fast:     150ms;
      --t-base:     250ms;
      --t-slow:     400ms;
      --transition-fast: 150ms cubic-bezier(.4,0,.2,1);
      --transition-base: 250ms cubic-bezier(.4,0,.2,1);
      --transition-slow: 400ms cubic-bezier(.4,0,.2,1);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Noto Sans Thai', sans-serif;
      color: var(--text);
      background: #fff;
      overflow-x: hidden;
      line-height: 1.7;
    }

    img { max-width: 100%; height: auto; display: block; }
    a { text-decoration: none; color: inherit; }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ===== TOPBAR ===== */
    #topbar {
      background: var(--navy);
      color: rgba(255,255,255,.85);
      font-size: 13px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    #topbar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
    }
    #topbar .tb-left { display: flex; align-items: center; gap: 20px; }
    #topbar .tb-right { display: flex; align-items: center; gap: 16px; }
    #topbar a { color: rgba(255,255,255,.85); }
    #topbar a:hover { color: var(--solar); transition: color .2s; }
    #topbar i { margin-right: 5px; color: var(--solar); font-size: 12px; }
    .tb-line {
      background: var(--green);
      color: #fff;
      padding: 4px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      display: flex; align-items: center; gap: 5px;
    }

    /* ===== NAVBAR ===== */
    #navbar {
      background: var(--white);
      box-shadow: 0 2px 20px rgba(6,26,51,.08);
      position: sticky;
      top: 0;
      z-index: 999;
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
      gap: 20px;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      font-weight: 800; font-size: 18px; color: var(--navy);
      white-space: nowrap;
    }
    .nav-logo-img {
      width: 44px; height: 44px;
      object-fit: contain;
      border-radius: 8px;
      flex-shrink: 0;
    }
    .nav-logo span small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }

    .nav-menu {
      display: flex; align-items: center; gap: 4px;
      list-style: none;
    }
    .nav-menu li a {
      padding: 8px 14px; border-radius: 8px;
      font-size: 14px; font-weight: 600; color: var(--navy);
      transition: all .2s;
    }
    .nav-menu li a:hover { background: var(--soft); color: var(--blue); }

    .btn-nav-cta {
      background: linear-gradient(135deg, var(--solar), var(--orange));
      color: var(--navy) !important;
      font-weight: 800 !important;
      padding: 10px 20px !important;
      border-radius: 999px !important;
      white-space: nowrap;
      box-shadow: 0 4px 14px rgba(255,201,40,.4);
      transition: transform .2s, box-shadow .2s !important;
    }
    .btn-nav-cta:hover,
    .btn-nav-cta:focus,
    .btn-nav-cta:active,
    .btn-nav-cta:visited {
      color: var(--navy) !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 8px 24px rgba(255,201,40,.5) !important;
      background: linear-gradient(135deg, var(--solar), var(--orange)) !important;
    }

    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
    .hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

    /* ===== HERO ===== */
    #hero {
      position: relative;
      min-height: 620px;
      display: flex; align-items: center;
      overflow: hidden;
      background: var(--navy);
    }
    /* Hero — Real photo background */
    .hero-bg {
      position: absolute; inset: 0;
      background-image: url('/wp-content/uploads/singhsolar/hero-solar-roof.jpg');
      background-size: cover;
      background-position: center 40%;
      background-repeat: no-repeat;
      /* Dark overlay ให้อ่านข้อความได้ง่าย */
      filter: brightness(0.45) saturate(1.1);
    }
    /* gradient overlay ด้านซ้ายให้ text ชัด */
    #hero::after {
      content: '';
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(
        to right,
        rgba(6,26,51,0.75) 0%,
        rgba(6,26,51,0.45) 55%,
        rgba(6,26,51,0.1) 100%
      );
    }
    .hero-glow-1 {
      position: absolute; top: -100px; right: -100px; z-index: 2;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(255,201,40,.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-glow-2 {
      position: absolute; bottom: -80px; left: -80px; z-index: 2;
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(23,189,235,.10) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-inner {
      position: relative; z-index: 2;
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,201,40,.15); border: 1px solid rgba(255,201,40,.3);
      color: var(--solar); font-size: 13px; font-weight: 700;
      padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
    }
    .hero-badge i { font-size: 12px; }
    .hero-h1 {
      font-size: clamp(32px, 5vw, 54px);
      font-weight: 900; color: #fff; line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero-h1 .highlight {
      background: linear-gradient(135deg, var(--solar), var(--orange));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-desc {
      color: rgba(255,255,255,.80); font-size: 16px; margin-bottom: 36px;
      max-width: 520px; line-height: 1.8;
    }
    .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
    /* ── Button Hierarchy System ── */
    .btn-primary {
      background: linear-gradient(135deg, var(--solar) 0%, var(--orange) 100%);
      color: var(--navy) !important; font-weight: 800; font-size: 15px;
      padding: 14px 32px; border-radius: var(--radius-full); border: none; cursor: pointer;
      box-shadow: var(--shadow-solar);
      transition: transform var(--t-base) var(--ease),
                  box-shadow var(--t-base) var(--ease);
      display: inline-flex; align-items: center; gap: 8px;
      letter-spacing: 0.01em;
      min-height: 48px;
    }
    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary:visited {
      color: var(--navy) !important;  /* บังคับ navy ทุก state — ป้องกัน Astra a:hover{color:#FFC928} */
      transform: translateY(-3px);
      box-shadow: var(--shadow-solar-hover);
    }
    .btn-primary:active { transform: translateY(-1px); }

    /* Secondary: ชัดขึ้น — border หนาขึ้น + bg เด่นขึ้น */
    .btn-secondary {
      background: rgba(255,255,255,.12);
      color: #fff; font-weight: 700; font-size: 15px;
      padding: 13px 28px; /* 1px น้อยกว่า primary เพราะ border 1px */
      border-radius: var(--radius-full);
      border: 1.5px solid rgba(255,255,255,.40); /* หนาขึ้นจาก .25 → .40 */
      cursor: pointer;
      transition: background var(--t-base) var(--ease),
                  border-color var(--t-base) var(--ease),
                  transform var(--t-base) var(--ease);
      display: inline-flex; align-items: center; gap: 8px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      min-height: 48px;
    }
    .btn-secondary:hover {
      background: rgba(255,255,255,.22);
      border-color: rgba(255,255,255,.65);
      transform: translateY(-2px);
    }

    .hero-stats {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
    }
    .hero-stat {
      background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
      padding: 18px 14px; text-align: center;
    }
    .hero-stat .num {
      font-size: 28px; font-weight: 900; color: var(--solar);
      line-height: 1;
    }
    .hero-stat .label { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 4px; }

    .hero-img-wrap {
      position: relative; border-radius: 24px; overflow: hidden;
      box-shadow: 0 30px 80px rgba(0,0,0,.4);
    }
    .hero-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
    .hero-img-badge {
      position: absolute; bottom: 20px; left: 20px;
      background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
      border-radius: 12px; padding: 12px 18px;
      display: flex; align-items: center; gap: 10px;
    }
    .hero-img-badge .badge-icon {
      width: 36px; height: 36px; background: linear-gradient(135deg, var(--solar), var(--orange));
      border-radius: 8px; display: flex; align-items: center; justify-content: center;
      font-size: 18px;
    }
    .hero-img-badge .badge-text strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy); }
    .hero-img-badge .badge-text span { font-size: 12px; color: var(--muted); }

    /* ===== SECTION COMMON ===== */
    .section { padding: 80px 0; }
    .section-alt { background: var(--soft); }
    .section-dark { background: var(--navy); }
    .section-tag {
      display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px;
      text-transform: uppercase; color: var(--blue); background: rgba(0,103,216,.1);
      padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
    }
    .section-tag.light { color: var(--cyan); background: rgba(23,189,235,.15); }
    .section-h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; color: var(--navy); margin-bottom: 14px; line-height: 1.3; }
    .section-h2.white { color: #fff; }
    .section-desc { font-size: 16px; color: var(--muted); max-width: 580px; margin: 0 auto; line-height: 1.8; }
    .section-desc.white { color: rgba(255,255,255,.75); }
    .section-header { text-align: center; margin-bottom: 56px; }

    /* ===== TARGET CUSTOMERS ===== */
    .target-grid {
      display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
    }
    .target-card {
      background: #fff; border: 1px solid var(--border);
      border-radius: var(--radius); padding: 32px 24px;
      text-align: center; transition: all .3s;
      box-shadow: var(--shadow);
    }
    .target-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--cyan); }
    .target-icon {
      width: 70px; height: 70px; margin: 0 auto 18px;
      background: linear-gradient(135deg, var(--soft), #e0eefa);
      border-radius: 18px; display: flex; align-items: center; justify-content: center;
      font-size: 32px; transition: all .3s;
    }
    .target-card:hover .target-icon { background: linear-gradient(135deg, var(--solar), var(--orange)); }
    .target-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
    .target-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

    /* ===== SYSTEMS ===== */
    .systems-grid {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
    }
    .system-card {
      border-radius: 20px; overflow: hidden;
      box-shadow: var(--shadow); transition: all .3s;
      position: relative;
    }
    .system-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
    .system-card-top {
      padding: 32px 28px 24px;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
      color: #fff; position: relative; overflow: hidden;
    }
    .system-card-top::before {
      content: ''; position: absolute; top: -40px; right: -40px;
      width: 140px; height: 140px;
      background: radial-gradient(circle, rgba(255,201,40,.2) 0%, transparent 70%);
    }
    .system-badge {
      display: inline-block; font-size: 11px; font-weight: 800;
      letter-spacing: 1px; text-transform: uppercase;
      background: rgba(255,201,40,.2); border: 1px solid rgba(255,201,40,.4);
      color: var(--solar); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
    }
    .system-card-top h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
    .system-card-top p { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.7; }
    .system-card-bottom {
      background: #fff; padding: 24px 28px;
    }
    .system-features { list-style: none; }
    .system-features li {
      padding: 7px 0; font-size: 14px; color: var(--text);
      display: flex; align-items: flex-start; gap: 10px;
      border-bottom: 1px solid var(--border);
    }
    .system-features li:last-child { border: none; }
    .system-features li::before {
      content: '✓'; font-weight: 800; color: var(--green);
      flex-shrink: 0; margin-top: 1px;
    }
    .system-card-cta {
      display: block; text-align: center; margin-top: 20px;
      background: linear-gradient(135deg, var(--solar), var(--orange));
      color: var(--navy) !important; font-weight: 800; font-size: 14px;
      padding: 12px; border-radius: 999px;
      transition: transform var(--t-base) var(--ease),
                  box-shadow var(--t-base) var(--ease);
    }
    .system-card-cta:hover,
    .system-card-cta:focus,
    .system-card-cta:active,
    .system-card-cta:visited {
      color: var(--navy) !important;
      transform: scale(1.02);
      box-shadow: 0 6px 20px rgba(255,201,40,.4);
    }

    /* ===== COMPARISON ===== */
    .comparison-wrap {
      display: grid; grid-template-columns: 1fr 1fr; gap: 0;
      border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
    }
    .comparison-col { }
    .comparison-col.col-other { background: #fff; }
    .comparison-col.col-singh { background: linear-gradient(160deg, var(--navy), var(--navy2)); }
    .comparison-head {
      padding: 28px 32px; font-size: 20px; font-weight: 900;
      text-align: center;
    }
    .col-other .comparison-head { background: #F1F5F9; color: var(--muted); }
    .col-singh .comparison-head { color: var(--solar); }
    .comparison-head small { display: block; font-size: 13px; font-weight: 500; margin-top: 4px; }
    .col-other .comparison-head small { color: var(--muted); }
    .col-singh .comparison-head small { color: rgba(255,255,255,.6); }

    .comparison-row {
      padding: 18px 32px; font-size: 15px; display: flex; align-items: flex-start; gap: 12px;
      border-top: 1px solid rgba(0,0,0,.06);
    }
    .col-other .comparison-row { color: var(--muted); }
    .col-other .comparison-row::before { content: '✗'; color: #E53E3E; font-weight: 800; flex-shrink: 0; }
    .col-singh .comparison-row { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.08); }
    .col-singh .comparison-row::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }

    /* ===== PROCESS ===== */
    .process-grid {
      display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
    }
    .process-card {
      background: #fff; border-radius: var(--radius); padding: 28px 22px;
      box-shadow: var(--shadow); border-top: 4px solid transparent;
      position: relative; transition: all .3s;
    }
    .process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--solar); }
    .process-num {
      font-size: 48px; font-weight: 900; line-height: 1;
      background: linear-gradient(135deg, var(--solar), var(--orange));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text; margin-bottom: 12px;
    }
    .process-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
    .process-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

    /* ===== PREMIUM / BILL SECTION ===== */
    #premium {
      background:
        linear-gradient(to right, rgba(6,26,51,0.92) 0%, rgba(6,26,51,0.65) 55%, rgba(6,26,51,0.25) 100%),
        url('/wp-content/uploads/2026/06/premium_solar_home_bg_1781896036766.jpg') center/cover no-repeat fixed;
      position: relative; overflow: hidden;
    }
    @media (max-width: 768px) {
      #premium {
        background-attachment: scroll;
      }
    }
    #premium::before {
      content: ''; position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
      background-size: 48px 48px;
    }
    .premium-inner {
      position: relative; z-index: 2;
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    }
    .premium-num {
      font-size: 100px; font-weight: 900; line-height: .9;
      background: linear-gradient(135deg, var(--solar), var(--orange));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .premium-h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: #fff; margin: 16px 0; line-height: 1.3; }
    .premium-desc { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.9; margin-bottom: 32px; }
    .premium-points { list-style: none; margin-bottom: 36px; }
    .premium-points li {
      padding: 8px 0; font-size: 15px; color: rgba(255,255,255,.9);
      display: flex; align-items: center; gap: 10px;
    }
    .premium-points li i { color: var(--solar); font-size: 14px; }
    .premium-img { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
    .premium-img img { width: 100%; height: 400px; object-fit: cover; }

    /* ===== PORTFOLIO ===== */
    .portfolio-grid {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
    }
    .portfolio-item {
      border-radius: 16px; overflow: hidden; position: relative;
      aspect-ratio: 4/3; box-shadow: var(--shadow);
      transition: all .3s;
    }
    .portfolio-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
    .portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
    .portfolio-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(6,26,51,.85) 0%, transparent 60%);
      opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 20px;
    }
    .portfolio-item:hover .portfolio-overlay { opacity: 1; }
    .portfolio-overlay span { color: #fff; font-size: 14px; font-weight: 700; }

    .portfolio-tabs {
      display: flex; gap: 12px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap;
    }
    .tab-btn {
      padding: 9px 24px; border-radius: 999px; font-size: 14px; font-weight: 700;
      border: 2px solid var(--border); background: #fff; color: var(--muted);
      cursor: pointer; transition: all .2s;
    }
    .tab-btn.active, .tab-btn:hover {
      background: var(--navy); border-color: var(--navy); color: #fff;
    }

    /* ===== TESTIMONIALS ===== */
    .testimonials-grid {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
    }
    .testimonial-card {
      background: #fff; border-radius: 20px; padding: 28px;
      box-shadow: var(--shadow); position: relative; border: 1px solid var(--border);
      transition: all .3s;
    }
    .testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .testimonial-card::before {
      content: '"'; position: absolute; top: 16px; right: 20px;
      font-size: 80px; line-height: 1; color: var(--soft);
      font-family: serif; pointer-events: none;
    }
    .stars { color: var(--solar); font-size: 16px; margin-bottom: 14px; }
    .testimonial-card p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 20px; }
    .testimonial-author { display: flex; align-items: center; gap: 12px; }
    .author-avatar {
      width: 44px; height: 44px; border-radius: 50%;
      background: linear-gradient(135deg, var(--navy), var(--blue));
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0;
    }
    .author-info strong { display: block; font-size: 14px; font-weight: 800; color: var(--navy); }
    .author-info span { font-size: 13px; color: var(--muted); }

    /* ===== CONTACT ===== */
    #contact { background: linear-gradient(160deg, #061A33 0%, #0A2D5C 60%, #003d99 100%) !important; color: #fff !important; }
    .contact-grid {
      display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start;
    }
    .contact-info { }
    .contact-info h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 900; color: var(--navy); margin-bottom: 8px; }
    .contact-info p { font-size: 16px; color: var(--muted); margin-bottom: 36px; line-height: 1.8; }
    .contact-item {
      display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px;
    }
    .contact-item-icon {
      width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
      background: linear-gradient(135deg, var(--navy), var(--blue));
      display: flex; align-items: center; justify-content: center;
      color: var(--solar); font-size: 18px;
    }
    .contact-item-text strong { display: block; font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
    .contact-item-text span { font-size: 15px; color: var(--text); }

    .free-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
    .free-badge {
      background: #fff; border: 2px solid var(--green); color: var(--green);
      font-weight: 800; font-size: 13px; padding: 8px 18px; border-radius: 999px;
      display: flex; align-items: center; gap: 6px;
    }

    .contact-form-wrap {
      background: #fff; border-radius: 24px; padding: 40px;
      box-shadow: var(--shadow-lg);
    }
    .contact-form-wrap h3 { font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
    .contact-form-wrap p { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
    .form-group { margin-bottom: 18px; }
    .form-group label {
      display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px;
    }
    .form-group input, .form-group select, .form-group textarea {
      width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
      border-radius: 10px; font-family: 'Noto Sans Thai', sans-serif;
      font-size: 15px; color: var(--text); transition: border-color .2s;
      background: var(--soft);
    }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
      outline: none; border-color: var(--blue); background: #fff;
    }
    .form-group textarea { resize: vertical; min-height: 110px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .btn-submit {
      width: 100%; padding: 16px;
      background: linear-gradient(135deg, var(--solar), var(--orange));
      color: var(--navy) !important; font-weight: 900; font-size: 16px;
      border: none; border-radius: 999px; cursor: pointer;
      box-shadow: 0 6px 20px rgba(255,201,40,.45);
      transition: transform var(--t-base) var(--ease),
                  box-shadow var(--t-base) var(--ease);
      font-family: 'Noto Sans Thai', sans-serif;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .btn-submit:hover,
    .btn-submit:focus,
    .btn-submit:active {
      color: var(--navy) !important;
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(255,201,40,.5);
    }

    /* ===== FAQ ===== */
    .faq-item {
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      transition: border-color .25s, box-shadow .25s;
    }
    .faq-item[open] {
      border-color: var(--cyan);
      box-shadow: 0 4px 20px rgba(23,189,235,.12);
    }
    .faq-item summary {
      padding: 20px 24px;
      font-size: 16px;
      font-weight: 700;
      color: var(--navy);
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      transition: color .2s;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: '\f067';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      font-size: 13px;
      color: var(--cyan);
      flex-shrink: 0;
      transition: transform .3s;
    }
    .faq-item[open] summary::after {
      content: '\f068';
    }
    .faq-item[open] summary { color: var(--cyan); }
    .faq-body {
      padding: 0 24px 20px;
      font-size: 15px;
      color: var(--muted);
      line-height: 1.8;
      border-top: 1px solid var(--border);
      padding-top: 16px;
    }
    .faq-body strong { color: var(--navy); }

    /* ===== CTA BANNER ===== */
    #cta-banner {
      background: linear-gradient(135deg, var(--navy), var(--navy2));
      padding: 70px 0; text-align: center; position: relative; overflow: hidden;
    }
    #cta-banner::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(circle at center, rgba(255,201,40,.15) 0%, transparent 60%);
    }
    #cta-banner .container { position: relative; z-index: 2; }
    #cta-banner h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 900; color: #fff; margin-bottom: 12px; }
    #cta-banner p { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 32px; }
    .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

    /* ===== ABOUT ===== */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: start;
    }
    .about-paragraphs p {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.9;
      margin-bottom: 16px;
    }
    .about-paragraphs p strong { color: var(--navy); }
    .about-highlights {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin: 28px 0;
    }
    .about-highlight-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background: var(--soft);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px;
      transition: all .25s;
    }
    .about-highlight-item:hover {
      border-color: var(--cyan);
      background: #e8f4fd;
      transform: translateY(-2px);
    }
    .ah-icon {
      font-size: 24px;
      flex-shrink: 0;
      line-height: 1;
      margin-top: 2px;
    }
    .about-highlight-item strong {
      display: block;
      font-size: 14px;
      color: var(--navy);
      margin-bottom: 2px;
    }
    .about-highlight-item small {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
    }
    /* About visual side */
    .about-visual {
      display: flex;
      flex-direction: column;
      gap: 20px;
      position: sticky;
      top: 80px;          /* ต่ำกว่า navbar 80px */
      align-self: start;  /* สำคัญ — ไม่ยืด height */
    }
    .about-img-wrap {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(6,26,51,.18);
      flex: 1;
    }
    .about-img-wrap img {
      width: 100%; height: 420px; object-fit: cover; object-position: center top; display: block;
    }
    .about-img-label {
      position: absolute; bottom: 16px; left: 16px;
      background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
      border-radius: 12px; padding: 12px 16px;
      display: flex; align-items: center; gap: 10px;
    }
    .ail-icon { font-size: 26px; }
    .about-img-label strong { display: block; font-size: 14px; font-weight: 800; color: var(--navy); }
    .about-img-label small { font-size: 12px; color: var(--muted); }
    .about-stats {
      display: grid; grid-template-columns: repeat(4,1fr); gap: 12px;
    }
    .astat {
      background: linear-gradient(135deg, var(--navy), var(--navy2));
      border-radius: 14px; padding: 18px 10px; text-align: center;
    }
    .astat-num {
      font-size: 26px; font-weight: 900; color: var(--solar); line-height: 1;
    }
    .astat-num span { font-size: 18px; }
    .astat-label { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 5px; line-height: 1.4; }

    /* ===== BLOG ===== */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .blog-card {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: 0 4px 20px rgba(6,26,51,.06);
      transition: all .3s ease;
      text-decoration: none;
      display: flex;
      flex-direction: column;
    }
    .blog-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 48px rgba(6,26,51,.14);
      border-color: var(--cyan);
    }
    .blog-thumb {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      display: block;
    }
    .blog-thumb-wrap {
      position: relative;
      overflow: hidden;
    }
    .blog-thumb-wrap img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      display: block;
      transition: transform .4s ease;
    }
    .blog-card:hover .blog-thumb-wrap img { transform: scale(1.05); }
    .blog-cat-badge {
      position: absolute;
      top: 12px; left: 12px;
      background: var(--blue);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
      letter-spacing: .5px;
    }
    .blog-body {
      padding: 20px 22px 24px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .blog-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 10px;
    }
    .blog-meta i { color: var(--blue); }
    .blog-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--navy);
      line-height: 1.5;
      margin-bottom: 10px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .blog-excerpt {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.7;
      flex: 1;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 16px;
    }
    .blog-read-more {
      font-size: 13px;
      font-weight: 700;
      color: var(--blue);
      display: flex;
      align-items: center;
      gap: 6px;
      transition: gap .2s;
    }
    .blog-card:hover .blog-read-more { gap: 10px; }
    /* Skeleton loading */
    .blog-skeleton {
      border-radius: 16px;
      background: #f0f4f8;
      height: 360px;
      animation: skeleton-pulse 1.5s ease-in-out infinite;
    }
    @keyframes skeleton-pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: .5; }
    }
    .btn-outline-blog {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 32px;
      border: 2px solid var(--blue);
      color: var(--blue);
      border-radius: 50px;
      font-weight: 700;
      font-size: 15px;
      text-decoration: none;
      transition: all .25s;
    }
    .btn-outline-blog:hover {
      background: var(--blue);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,103,216,.25);
    }

    /* ===== FOOTER ===== */
    #footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 60px 0 0; }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px;
    }
    .footer-brand { }
    .footer-logo {
      display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    }
    .footer-logo-img {
      width: 48px; height: 48px;
      object-fit: contain;
      border-radius: 8px;
      background: rgba(255,255,255,.1);
      padding: 4px;
      flex-shrink: 0;
    }
    .footer-logo-text { font-size: 17px; font-weight: 800; color: #fff; }
    .footer-logo-text small { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.5); }
    .footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.65); max-width: 280px; }

    .footer-col h4 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s; }
    .footer-col ul li a:hover { color: var(--solar); }

    .footer-contact p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.8; display: flex; gap: 8px; margin-bottom: 10px; }
    .footer-contact p i { color: var(--solar); margin-top: 3px; flex-shrink: 0; }
    .social-links { display: flex; gap: 10px; margin-top: 20px; }
    .social-link {
      width: 38px; height: 38px; border-radius: 8px;
      background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.7); font-size: 16px; transition: all .2s;
    }
    .social-link:hover { background: var(--solar); color: var(--navy); }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: 13px; color: rgba(255,255,255,.45); }

    /* ===== SCROLL TO TOP ===== */
    #scrolltop {
      position: fixed; bottom: 28px; right: 28px; z-index: 100;
      width: 46px; height: 46px; border-radius: 50%;
      background: linear-gradient(135deg, var(--solar), var(--orange));
      color: var(--navy); display: flex; align-items: center; justify-content: center;
      font-size: 18px; cursor: pointer; opacity: 0; pointer-events: none;
      transition: all .3s; box-shadow: 0 6px 20px rgba(255,201,40,.4);
    }
    #scrolltop.show { opacity: 1; pointer-events: all; }
    #scrolltop:hover { transform: translateY(-4px); }

    /* ===== FLOATING LINE ===== */
    #line-float {
      position: fixed; bottom: 84px; right: 28px; z-index: 100;
    }
    #line-float a {
      display: flex; align-items: center; gap: 10px;
      background: var(--green); color: #fff;
      padding: 12px 18px; border-radius: 999px;
      font-weight: 800; font-size: 14px;
      box-shadow: 0 6px 20px rgba(24,169,87,.4);
      transition: all .3s;
    }
    #line-float a:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(24,169,87,.5); }
    #line-float i { font-size: 20px; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .hero-inner { grid-template-columns: 1fr; }
      .hero-img-wrap { max-height: 340px; }
      .hero-img-wrap img { height: 340px; }
      .systems-grid { grid-template-columns: 1fr 1fr; }
      .process-grid { grid-template-columns: repeat(2,1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .about-grid { grid-template-columns: 1fr; gap: 40px; }
      .about-stats { grid-template-columns: repeat(4,1fr); }
    }

    @media (max-width: 768px) {
      .section { padding: 60px 0; }
      .target-grid { grid-template-columns: repeat(2,1fr); }
      .systems-grid { grid-template-columns: 1fr; }
      .comparison-wrap { grid-template-columns: 1fr; }
      .premium-inner { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; }
      .testimonials-grid { grid-template-columns: 1fr; }
      .portfolio-grid { grid-template-columns: 1fr 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .hero-stats { grid-template-columns: repeat(3,1fr); gap: 10px; }
      .hero-btns { flex-direction: column; }
      .nav-menu { display: none; }
      .hamburger { display: flex; }
      .nav-menu.open {
        display: flex; flex-direction: column;
        position: fixed; top: 70px; left: 0; right: 0;
        background: #fff; padding: 20px; gap: 4px;
        box-shadow: var(--shadow-lg); z-index: 998;
      }
      #topbar .tb-left { font-size: 11px; }
      .form-row { grid-template-columns: 1fr; }
      .contact-form-wrap { padding: 28px 20px; }
      .about-highlights { grid-template-columns: 1fr; }
      .about-stats { grid-template-columns: repeat(2,1fr); }
    }

    @media (max-width: 480px) {
      .target-grid { grid-template-columns: 1fr 1fr; }
      .portfolio-grid { grid-template-columns: 1fr; }
      .hero-stats { grid-template-columns: repeat(3,1fr); }
      .hero-stat .num { font-size: 22px; }
    }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .fade-up { animation: fadeUp .6s ease both; }
    .delay-1 { animation-delay: .1s; }
    .delay-2 { animation-delay: .2s; }
    .delay-3 { animation-delay: .3s; }

/* ===== WIX PROCESS TIMELINE (Section 6) ===== */
.wix-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 24px;
}
.wix-process-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.wix-process-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(72, 211, 255, 0.45);
  box-shadow: 0 20px 40px rgba(72, 211, 255, 0.18);
}
.wix-process-num {
  font-family: 'Impact', 'Anton', 'Arial Black', sans-serif;
  font-size: 110px;
  font-weight: 900;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.06);
  position: absolute;
  top: 15px;
  right: 20px;
  pointer-events: none;
  transition: all 0.4s ease;
}
.wix-process-card:hover .wix-process-num {
  color: rgba(72, 211, 255, 0.12);
  transform: scale(1.1) rotate(5deg);
}
.wix-process-icon {
  width: 60px;
  height: 60px;
  background: rgba(72, 211, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 26px;
  color: #48D3FF;
  box-shadow: inset 0 0 10px rgba(72, 211, 255, 0.1);
  border: 1px solid rgba(72, 211, 255, 0.2);
  transition: all 0.3s ease;
}
.wix-process-card:hover .wix-process-icon {
  background: #48D3FF;
  color: #061A33;
  box-shadow: 0 0 20px rgba(72, 211, 255, 0.6);
  transform: rotate(-5deg);
}
.wix-process-title {
  font-size: 22px;
  font-weight: 800;
  color: #48D3FF;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.wix-process-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  flex-grow: 1;
}

/* Highlight Card for Step 7 */
.wix-process-card.highlight-card {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(72, 211, 255, 0.08) 0%, rgba(0, 103, 216, 0.15) 100%);
  border-color: rgba(72, 211, 255, 0.25);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}
.wix-process-card.highlight-card .highlight-content {
  display: flex;
  flex-direction: column;
}
.wix-process-card.highlight-card .wix-process-icon {
  width: 80px; height: 80px; font-size: 36px; border-radius: 20px; margin-bottom: 0;
}
.wix-process-card.highlight-card:hover {
  box-shadow: 0 20px 50px rgba(0, 103, 216, 0.25);
  border-color: #48D3FF;
}

/* Partner Logos Wrap */
.partner-wrap {
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.partner-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}
.partner-img {
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  opacity: 0.85;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}
.partner-img:hover {
  opacity: 1;
  transform: scale(1.01);
}

/* Responsive Media Queries for Wix Process */
@media (max-width: 1024px) {
  .wix-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wix-process-card.highlight-card {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .wix-process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wix-process-card.highlight-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }
  .wix-process-card.highlight-card .wix-process-icon {
    margin-bottom: 10px;
  }
  .partner-wrap {
    padding: 24px 16px;
  }
}
/* Cache-busting comment: stylesheet updated dynamically */


/* ============================================================
   TARGET CUSTOMERS SECTION — ss-tcard redesign
   ============================================================ */
.ss-target-section {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  padding: 100px 0;
}
.ss-target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.ss-tcard {
  position: relative;
  border-radius: 24px;
  padding: 36px 28px 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
  box-shadow: 0 8px 32px rgba(6,26,51,.08);
}
.ss-tcard:hover { transform: translateY(-10px); box-shadow: 0 24px 64px rgba(6,26,51,.18); }
.ss-tcard--home  { background: linear-gradient(145deg,#061A33,#0A2D5C); border: 1px solid rgba(255,255,255,.08); }
.ss-tcard--office{ background: linear-gradient(145deg,#0A2D5C,#0067D8); border: 1px solid rgba(255,255,255,.08); }
.ss-tcard--store { background: linear-gradient(145deg,#17BDEB,#0067D8); border: 1px solid rgba(255,255,255,.12); }
.ss-tcard--factory{ background: linear-gradient(145deg,#FFC928,#F59E0B); border: 1px solid rgba(255,255,255,.2); }
.ss-tcard__glow { position:absolute; width:200px; height:200px; border-radius:50%; top:-60px; right:-60px; filter:blur(60px); pointer-events:none; opacity:0; transition:opacity .4s; }
.ss-tcard:hover .ss-tcard__glow { opacity:1; }
.ss-tcard--home .ss-tcard__glow    { background:rgba(0,103,216,.5); }
.ss-tcard--office .ss-tcard__glow  { background:rgba(23,189,235,.5); }
.ss-tcard--store .ss-tcard__glow   { background:rgba(255,255,255,.2); }
.ss-tcard--factory .ss-tcard__glow { background:rgba(255,201,40,.4); }
.ss-tcard__icon { width:64px; height:64px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:26px; margin-bottom:4px; position:relative; z-index:1; }
.ss-tcard--home .ss-tcard__icon,.ss-tcard--office .ss-tcard__icon { background:rgba(255,255,255,.12); color:#FFC928; }
.ss-tcard--store .ss-tcard__icon   { background:rgba(255,255,255,.2); color:#fff; }
.ss-tcard--factory .ss-tcard__icon { background:rgba(6,26,51,.15); color:#061A33; }
.ss-tcard__badge { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; border-radius:999px; padding:4px 12px; display:inline-block; width:fit-content; position:relative; z-index:1; }
.ss-tcard--home .ss-tcard__badge,.ss-tcard--office .ss-tcard__badge { background:rgba(255,201,40,.2); color:#FFC928; }
.ss-tcard--store .ss-tcard__badge  { background:rgba(255,255,255,.25); color:#fff; }
.ss-tcard--factory .ss-tcard__badge{ background:rgba(6,26,51,.12); color:#061A33; }
.ss-tcard__title { font-size:20px; font-weight:800; line-height:1.3; position:relative; z-index:1; }
.ss-tcard--home .ss-tcard__title,.ss-tcard--office .ss-tcard__title,.ss-tcard--store .ss-tcard__title { color:#fff; }
.ss-tcard--factory .ss-tcard__title { color:#061A33; }
.ss-tcard__desc { font-size:14px; line-height:1.75; position:relative; z-index:1; flex:1; }
.ss-tcard--home .ss-tcard__desc,.ss-tcard--office .ss-tcard__desc,.ss-tcard--store .ss-tcard__desc { color:rgba(255,255,255,.75); }
.ss-tcard--factory .ss-tcard__desc { color:rgba(6,26,51,.7); }
.ss-tcard__features { list-style:none; display:flex; flex-direction:column; gap:6px; position:relative; z-index:1; }
.ss-tcard__features li { font-size:13px; font-weight:600; display:flex; align-items:center; gap:8px; }
.ss-tcard--home .ss-tcard__features li,.ss-tcard--office .ss-tcard__features li,.ss-tcard--store .ss-tcard__features li { color:rgba(255,255,255,.9); }
.ss-tcard--factory .ss-tcard__features li { color:#061A33; }
.ss-tcard--home .ss-tcard__features li i,.ss-tcard--office .ss-tcard__features li i,.ss-tcard--store .ss-tcard__features li i { color:#FFC928; }
.ss-tcard--factory .ss-tcard__features li i { color:#061A33; }
.ss-tcard__btn { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; padding:10px 20px; border-radius:12px; width:fit-content; transition:all .25s; position:relative; z-index:1; margin-top:4px; }
.ss-tcard--home .ss-tcard__btn,.ss-tcard--office .ss-tcard__btn,.ss-tcard--store .ss-tcard__btn { background:rgba(255,255,255,.15); color:#fff; border:1px solid rgba(255,255,255,.3); }
.ss-tcard--factory .ss-tcard__btn { background:rgba(6,26,51,.1); color:#061A33; border:1px solid rgba(6,26,51,.2); }
.ss-tcard__btn:hover { background:var(--solar) !important; color:#061A33 !important; border-color:var(--solar) !important; transform:translateX(4px); }
@media(max-width:1024px){ .ss-target-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .ss-target-grid { grid-template-columns:1fr; } }

/* ============================================================
   CONTACT SECTION — ss-contact redesign
   ============================================================ */
.ss-contact-section { background:linear-gradient(160deg,#061A33 0%,#0A2D5C 60%,#003d99 100%); padding:100px 0; position:relative; overflow:visible; }
.ss-contact-section::before { content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size:32px 32px; }
.ss-contact-grid { position:relative; z-index:1; display:grid; grid-template-columns:1fr 1.1fr; gap:60px; align-items:start; }
.ss-contact-info { color:#fff; }
.ss-contact-title { font-size:clamp(28px,4vw,42px); font-weight:900; line-height:1.2; margin:16px 0 20px; }
.ss-contact-title span { color:var(--solar); }
.ss-contact-intro { color:rgba(255,255,255,.7); font-size:15px; line-height:1.85; margin-bottom:36px; }
.ss-cinfo-items { display:flex; flex-direction:column; gap:20px; margin-bottom:36px; }
.ss-cinfo-item { display:flex; align-items:flex-start; gap:16px; }
.ss-cinfo-icon { width:46px; height:46px; border-radius:14px; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--solar); flex-shrink:0; }
.ss-cinfo-icon--line { background:rgba(0,185,71,.25); color:#00B947; }
.ss-cinfo-text { display:flex; flex-direction:column; gap:2px; padding-top:4px; }
.ss-cinfo-text strong { font-size:13px; font-weight:700; color:var(--solar); text-transform:uppercase; letter-spacing:.5px; }
.ss-cinfo-text span { font-size:15px; color:rgba(255,255,255,.85); line-height:1.6; }
.ss-free-badges { display:flex; gap:12px; flex-wrap:wrap; }
.ss-free-badge { display:flex; align-items:center; gap:7px; background:rgba(255,201,40,.15); border:1px solid rgba(255,201,40,.35); color:var(--solar); font-size:13px; font-weight:700; padding:8px 18px; border-radius:999px; }
.ss-form-card { background:#fff; border-radius:24px; overflow:visible; box-shadow:0 40px 100px rgba(0,0,0,.35); }
.ss-form-header { background:linear-gradient(135deg,var(--navy) 0%,var(--blue) 100%); padding:28px 36px 24px; }
.ss-form-header h3 { font-size:20px; font-weight:800; color:#fff; margin-bottom:4px; }
.ss-form-header p { font-size:14px; color:rgba(255,255,255,.7); }
.ss-form { padding:28px 36px 36px; display:flex; flex-direction:column; gap:18px; }
.ss-form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.ss-form-group { display:flex; flex-direction:column; gap:8px; }
.ss-form-group label { font-size:13px; font-weight:700; color:var(--navy); display:flex; align-items:center; gap:7px; }
.ss-form-group label i { color:var(--blue); font-size:12px; }
.ss-form-group input,.ss-form-group textarea { width:100%; padding:13px 16px; border:1.5px solid var(--border); border-radius:12px; font-size:14px; font-family:inherit; color:var(--text); background:#f8fafc; transition:all .2s; outline:none; box-sizing:border-box; }
.ss-form-group input:focus,.ss-form-group textarea:focus { border-color:var(--blue); background:#fff; box-shadow:0 0 0 3px rgba(0,103,216,.12); }
.ss-form-group textarea { height:100px; resize:vertical; }
/* Custom select - fixes dropdown cut-off */
.ss-select-wrap { position:relative; display:block; width:100%; }
.ss-select-wrap select { width:100%; padding:13px 42px 13px 16px; border:1.5px solid var(--border); border-radius:12px; font-size:14px; font-family:inherit; color:var(--text); background:#f8fafc; -webkit-appearance:none; -moz-appearance:none; appearance:none; cursor:pointer; transition:all .2s; outline:none; box-sizing:border-box; display:block; }
.ss-select-wrap select:focus { border-color:var(--blue); background:#fff; box-shadow:0 0 0 3px rgba(0,103,216,.12); }
.ss-select-arrow { position:absolute; right:14px; top:50%; transform:translateY(-50%); font-size:12px; color:var(--blue); pointer-events:none; transition:transform .2s; }
.ss-select-wrap select:focus ~ .ss-select-arrow { transform:translateY(-50%) rotate(180deg); }
.ss-btn-submit { width:100%; padding:16px; background:linear-gradient(135deg,var(--blue) 0%,var(--cyan) 100%); color:#fff; border:none; border-radius:14px; font-size:16px; font-weight:800; font-family:inherit; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:10px; transition:all .3s; box-shadow:0 8px 24px rgba(0,103,216,.35); margin-top:4px; }
.ss-btn-submit:hover { transform:translateY(-2px); box-shadow:0 16px 40px rgba(0,103,216,.45); }
@media(max-width:1024px){ .ss-contact-grid{grid-template-columns:1fr;gap:48px;} .ss-form-row{grid-template-columns:1fr;} .ss-form,.ss-form-header{padding:24px;} }
@media(max-width:600px){ .ss-free-badge{font-size:12px;padding:6px 14px;} }


/* ============================================================
   STATS BAR SECTION — ss-stats-
   ============================================================ */
.ss-stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0;
}
.ss-stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.ss-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 20px;
  position: relative;
  transition: background .3s;
}
.ss-stat-item:hover { background: rgba(255,255,255,.04); }
.ss-stat-item + .ss-stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.1);
}
.ss-stat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,201,40,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--solar);
  margin-bottom: 4px;
}
.ss-stat-num {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: var(--solar);
  letter-spacing: -1px;
}
.ss-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .ss-stats-inner { flex-wrap: wrap; }
  .ss-stat-item { flex: 0 0 33.333%; }
  .ss-stat-item:nth-child(4)::before,
  .ss-stat-item:nth-child(1)::before { display: none; }
}
@media (max-width: 480px) {
  .ss-stat-item { flex: 0 0 50%; }
  .ss-stat-item:nth-child(3)::before { display: none; }
}

/* ============================================================
   WHO WE SERVE — Visual Tabs (ss-who-)
   ============================================================ */
.ss-who-section {
  background: linear-gradient(180deg, #fff 0%, #f3f8fd 100%);
  padding: 90px 0;
}
/* Tab Nav */
.ss-who-tabs {
  display: flex;
  gap: 8px;
  margin: 48px 0 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.ss-who-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .25s;
}
.ss-who-tab i { font-size: 14px; }
.ss-who-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,103,216,.12);
}
.ss-who-tab.active {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,103,216,.3);
}
/* Panels */
.ss-who-panels { position: relative; }
.ss-who-panel { display: none; }
.ss-who-panel.active { display: block; animation: ssWhoFade .35s ease; }
@keyframes ssWhoFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ss-who-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  padding: 52px 52px;
  box-shadow: 0 20px 60px rgba(6,26,51,.08);
  border: 1px solid var(--border);
}
.ss-who-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,103,216,.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.ss-who-text h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.ss-who-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
}
/* Specs row */
.ss-who-specs {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--soft);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.ss-who-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.ss-who-spec-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.ss-who-spec-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.ss-who-spec-label {
  font-size: 12px;
  color: var(--muted);
}
/* Features */
.ss-who-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.ss-who-feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.ss-who-feat i { color: var(--green); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
/* CTA */
.ss-who-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  transition: all .3s;
  box-shadow: 0 8px 24px rgba(0,103,216,.25);
}
.ss-who-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,103,216,.35);
  color: #fff;
}
/* Visual (right side image) */
.ss-who-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(6,26,51,.18);
}
.ss-who-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.ss-who-badge-float {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(6,26,51,.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.ss-who-badge-float i { color: var(--solar); font-size: 20px; }
.ss-who-badge-float span { font-size: 13px; line-height: 1.4; }
.ss-who-badge-float strong { color: var(--solar); }

@media (max-width: 1024px) {
  .ss-who-content { grid-template-columns: 1fr; gap: 36px; padding: 36px 28px; }
  .ss-who-visual { order: -1; }
  .ss-who-visual img { height: 280px; }
  .ss-who-features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ss-who-tabs { gap: 6px; }
  .ss-who-tab { padding: 10px 16px; font-size: 13px; }
  .ss-who-specs { flex-direction: column; gap: 12px; }
}

/* ============================================================
   CONTACT SECTION — Critical Fixes (override base CSS conflicts)
   ============================================================ */

/* Fix 1: Force text visibility — override any Elementor/base color inheritance */
#contact.ss-contact-section,
section#contact.ss-contact-section {
  color: #fff !important;
}
#contact .ss-contact-info,
#contact .ss-contact-info * {
  /* ensure all child elements in info column are visible */
}
#contact .ss-contact-title {
  color: #fff !important;
  font-size: clamp(26px, 3.5vw, 40px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  margin: 16px 0 20px !important;
}
#contact .ss-contact-title span {
  color: #FFC928 !important;
}
#contact .ss-contact-intro {
  color: rgba(255,255,255,0.85) !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}
#contact .ss-cinfo-text strong {
  color: #FFC928 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: block !important;
}
#contact .ss-cinfo-text span {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px !important;
  display: block !important;
  line-height: 1.6 !important;
}
#contact .section-tag {
  background: rgba(255,201,40,0.15) !important;
  color: #FFC928 !important;
  border: 1px solid rgba(255,201,40,0.3) !important;
}
#contact .ss-free-badge {
  color: #FFC928 !important;
}

/* Fix 2: Form fields full width — override base .form-group conflicts */
#contact .ss-form-card {
  display: block !important;
  width: 100% !important;
}
#contact .ss-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 28px 32px 32px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#contact .ss-form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  width: 100% !important;
}
#contact .ss-form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}
/* Override base .form-group label */
#contact .ss-form-group label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-bottom: 0 !important;
}
#contact .ss-form-group label i {
  color: var(--blue) !important;
  font-size: 12px !important;
}
/* Override base .form-group input/select — force full width */
#contact .ss-form-group input[type="text"],
#contact .ss-form-group input[type="tel"],
#contact .ss-form-group input[type="email"],
#contact .ss-form-group textarea {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  padding: 12px 16px !important;
  border: 1.5px solid #DDE7F0 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
  color: #0F172A !important;
  background: #f8fafc !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color .2s, box-shadow .2s !important;
  -webkit-appearance: none !important;
  margin: 0 !important;
}
#contact .ss-form-group input:focus,
#contact .ss-form-group textarea:focus {
  border-color: #0067D8 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0,103,216,0.12) !important;
}
#contact .ss-form-group textarea {
  height: 100px !important;
  resize: vertical !important;
  min-height: 80px !important;
}
/* Select wrapper full width */
#contact .ss-select-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
#contact .ss-select-wrap select {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  padding: 12px 42px 12px 16px !important;
  border: 1.5px solid #DDE7F0 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
  color: #0F172A !important;
  background: #f8fafc !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
  outline: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
#contact .ss-select-wrap select:focus {
  border-color: #0067D8 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0,103,216,0.12) !important;
}
#contact .ss-select-arrow {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 11px !important;
  color: #0067D8 !important;
  pointer-events: none !important;
}
#contact .ss-btn-submit {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 15px !important;
  background: linear-gradient(135deg, #0067D8 0%, #17BDEB 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(0,103,216,0.35) !important;
  transition: all .3s !important;
  margin-top: 4px !important;
  box-sizing: border-box !important;
}
#contact .ss-btn-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 40px rgba(0,103,216,0.45) !important;
}

@media (max-width: 768px) {
  #contact .ss-form-row {
    grid-template-columns: 1fr !important;
  }
  #contact .ss-form {
    padding: 20px !important;
  }
}

/* Contact form card — fix dropdown clipping while keeping visual look */
#contact .ss-form-card {
  overflow: visible !important;
  border-radius: 24px !important;
}
#contact .ss-form-header {
  border-radius: 24px 24px 0 0 !important;
  overflow: hidden !important;
}
/* Force select to not be clipped */
#contact .ss-select-wrap,
#contact .ss-select-wrap select {
  overflow: visible !important;
  position: relative !important;
  z-index: 10 !important;
}
/* Fix: ensure the select appears fully */
#contact .ss-form-group {
  overflow: visible !important;
}
#contact .ss-form {
  overflow: visible !important;
}

/* ============================================================
   SELECT HEIGHT FIX — ช่อง dropdown ต้องสูงพอ ไม่โดนตัด
   ============================================================ */
#contact .ss-select-wrap select,
#contact .ss-form-group select {
  height: 52px !important;
  min-height: 52px !important;
  line-height: 1.5 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  padding-left: 16px !important;
  padding-right: 44px !important;
  vertical-align: middle !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border: 1.5px solid #DDE7F0 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  font-size: 14px !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
  color: #0F172A !important;
  cursor: pointer !important;
}

/* Input ควรสูงเท่า select เพื่อความสม่ำเสมอ */
#contact .ss-form-group input[type="text"],
#contact .ss-form-group input[type="tel"],
#contact .ss-form-group input[type="email"] {
  height: 52px !important;
  min-height: 52px !important;
  line-height: 1.5 !important;
  padding: 14px 16px !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
}

/* Select wrapper ต้องสูงตาม */
#contact .ss-select-wrap {
  height: 52px !important;
  display: block !important;
  position: relative !important;
  width: 100% !important;
}

/* Arrow icon อยู่กึ่งกลางแนวตั้งของ wrapper */
#contact .ss-select-arrow {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  color: #0067D8 !important;
  font-size: 12px !important;
}

/* ============================================================
   NO UNDERLINE — ลบขีดเส้นใต้จากลิงก์และปุ่มทุกจุด
   ครอบคลุม Astra, Elementor, Custom Classes
   ============================================================ */

/* Global: ลิงก์ทั้งหมด */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
}

/* Elementor widgets */
.elementor a,
.elementor a:hover,
.elementor a:focus,
.elementor-widget-container a,
.elementor-widget-container a:hover,
.elementor-button,
.elementor-button:hover,
.elementor-button:focus,
.elementor-button-link,
.elementor-button-link:hover {
  text-decoration: none !important;
}

/* Astra theme links */
.ast-separate-container a,
.ast-container a,
.site-content a,
.ast-comment-content a,
.ast-footer-copyright a,
.footer-widget-area a,
.ast-breadcrumbs a {
  text-decoration: none !important;
}

/* Navigation links */
.main-navigation a,
.ast-primary-menu-enabled a,
#ast-desktop-header a,
#ast-mobile-header a,
.ast-builder-menu a,
.nav-menu a,
.menu a {
  text-decoration: none !important;
}

/* Buttons ทุกประเภท */
button,
button:hover,
button:focus,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
.button:hover,
.btn,
.btn:hover,
.btn-primary,
.btn-primary:hover,
.btn-secondary,
.btn-secondary:hover,
.btn-nav-cta,
.btn-nav-cta:hover,
.btn-submit,
.btn-submit:hover,
.btn-outline-blog,
.btn-outline-blog:hover,
.tab-btn,
.tab-btn:hover,
.ss-tcard__btn,
.ss-tcard__btn:hover,
.ss-btn-submit,
.ss-btn-submit:hover,
.ast-button,
.ast-button:hover {
  text-decoration: none !important;
}

/* Footer links */
footer a,
footer a:hover,
.site-footer a,
.site-footer a:hover,
.footer-col a,
.footer-col a:hover,
.footer-col ul li a,
.footer-col ul li a:hover {
  text-decoration: none !important;
}

/* WPForms & misc */
.wpforms-container a,
.wpforms-form a {
  text-decoration: none !important;
}

/* ============================================================
   GLOBAL FIX — ปุ่มพื้นเหลืองทุกอัน: text สีกรมทุก state
   ป้องกัน Astra a:hover { color: #FFC928 } override
   ============================================================ */

.btn-primary,  .btn-primary:link,  .btn-primary:visited,
.btn-primary:hover,  .btn-primary:focus,  .btn-primary:active,
.btn-nav-cta,  .btn-nav-cta:link,  .btn-nav-cta:visited,
.btn-nav-cta:hover,  .btn-nav-cta:focus,  .btn-nav-cta:active,
.system-card-cta,  .system-card-cta:link,  .system-card-cta:visited,
.system-card-cta:hover,  .system-card-cta:focus,  .system-card-cta:active,
.btn-submit,  .btn-submit:hover,  .btn-submit:focus,  .btn-submit:active,
.ss-btn-submit,  .ss-btn-submit:hover,  .ss-btn-submit:focus,
.footer-cta-btn,  .footer-cta-btn:hover,  .footer-cta-btn:focus {
  color: var(--navy) !important;
}

/* ============================================================
   PHASE 1 — POLISH & IMPROVEMENTS
   impeccable.style × ui-ux-pro-max-skill principles
   ============================================================ */

/* ── 1. Heading Typography — Letter Spacing & Scale ── */
h1, h2, .hero-h1, .section-title {
  letter-spacing: -0.02em;
}
h3, h4 {
  letter-spacing: -0.01em;
}
.section-label,
.hero-badge,
.tab-btn,
.eyebrow,
.ss-stats-label {
  letter-spacing: 0.06em;
}

/* ── 2. Focus States (Keyboard Navigation / Accessibility) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--solar) !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
  box-shadow: 0 0 0 4px rgba(255,201,40,.20) !important;
}

/* ── 3. Form Validation States ── */
#contact input[type="text"]:valid:not(:placeholder-shown),
#contact input[type="tel"]:valid:not(:placeholder-shown),
#contact input[type="email"]:valid:not(:placeholder-shown),
#contact select:valid:not([value=""]) {
  border-color: var(--green) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2318A957' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 40px !important;
}
#contact input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #EF4444 !important;
}

/* ── 4. Nav CTA — Updated Transitions ── */
.btn-nav-cta {
  background: linear-gradient(135deg, var(--solar), var(--orange)) !important;
  color: var(--navy) !important;
  font-weight: 800 !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  white-space: nowrap;
  box-shadow: var(--shadow-solar) !important;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease) !important;
  min-height: 40px !important;
}
.btn-nav-cta:hover,
.btn-nav-cta:focus,
.btn-nav-cta:active,
.btn-nav-cta:visited {
  color: var(--navy) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-solar-hover) !important;
  background: linear-gradient(135deg, var(--solar), var(--orange)) !important;
}

/* ── 5. Topbar Mobile — แสดงแค่ phone + line ── */
@media (max-width: 768px) {
  #topbar .tb-left .topbar-email,
  #topbar .tb-left .topbar-hours,
  #topbar .tb-left .topbar-address {
    display: none !important;
  }
  #topbar .container {
    justify-content: center !important;
    gap: var(--sp-2) !important;
  }
  #topbar .tb-left {
    gap: var(--sp-2) !important;
  }
  #topbar .tb-right {
    gap: var(--sp-2) !important;
  }
}

/* ── 6. FAQ Accordion — Smooth Animation ── */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease),
              padding var(--t-base) var(--ease),
              opacity var(--t-base) var(--ease);
  opacity: 0;
}
/* native <details open> */
details.faq-item[open] .faq-body {
  max-height: 800px;
  opacity: 1;
  padding-bottom: 4px;
}
/* JS-driven class fallback */
.faq-item.active .faq-body,
.faq-item.open .faq-body {
  max-height: 800px;
  opacity: 1;
}
.faq-item .faq-icon,
.faq-item .faq-arrow,
.faq-item .fas.fa-chevron-down {
  transition: transform var(--t-base) var(--ease);
}
.faq-item.active .faq-icon,
.faq-item.active .faq-arrow,
.faq-item.active .fas.fa-chevron-down,
.faq-item.open .faq-icon,
.faq-item.open .faq-arrow,
.faq-item.open .fas.fa-chevron-down {
  transform: rotate(180deg);
}

/* ── 7. Cards — Standardize border-radius & shadows ── */
.service-card,
.system-card,
.ss-tcard,
.blog-card,
.about-highlight-item,
.hero-stat {
  border-radius: var(--radius-lg) !important;
}
.service-card,
.system-card,
.blog-card {
  box-shadow: var(--shadow-sm) !important;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease) !important;
}
.service-card:hover,
.system-card:hover,
.blog-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* ── 9. Touch Targets — min 44×44px ── */
.nav-menu li a,
.tab-btn,
.faq-item .faq-header,
.footer-col ul li a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}



/* ============================================================
   PHASE 2 — TYPOGRAPHY & CONSISTENCY
   impeccable.style principles: Typeset + Distill + Polish
   ============================================================ */

/* ── 1. Type Scale — Major Third (ratio ×1.25) ── */
/*
   h1 → 40px  (จาก 36px)
   h2 → 32px  (จาก 30px)
   h3 → 25px  (จาก 24px)
   h4 → 20px  (คงเดิม)
   body → 16px, line-height 1.75 (Thai-optimized)
*/

/* Body: ปรับ line-height ให้เหมาะกับภาษาไทย */
body {
  line-height: 1.75 !important;
}

/* Heading sizes — Major Third scale */
h1,
.entry-content :where(h1) {
  font-size: clamp(32px, 5vw, 40px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em;
}
h2,
.entry-content :where(h2) {
  font-size: clamp(26px, 4vw, 32px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
}
h3,
.entry-content :where(h3) {
  font-size: clamp(20px, 3vw, 25px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
}
h4,
.entry-content :where(h4) {
  font-size: 20px !important;
  line-height: 1.35 !important;
}
h5,
.entry-content :where(h5) {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* Section heading overrides — tight & consistent */
.section-h2 {
  font-size: clamp(26px, 4vw, 36px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}
.section-desc {
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: var(--muted) !important;
}

/* Body text — paragraph line-height Thai-optimized */
p {
  line-height: 1.8;
}
.hero-desc,
.contact-info p,
.premium-desc,
.testimonial-card p,
.section-desc {
  line-height: 1.85 !important;
}

/* Small text / meta */
.hero-stat .label,
.footer-col ul li,
.target-card p,
.process-card p,
.system-card-top p {
  font-size: 13px !important;
  line-height: 1.7 !important;
}

/* ── 2. Border-radius Standardization ── */
/*  ใช้ tokens จาก Phase 1:
    --radius-sm:  6px   → nav items, badges, tags
    --radius-md:  12px  → inputs, small cards, chips
    --radius-lg:  16px  → cards, sections
    --radius-xl:  24px  → large panels, modals
    --radius-full: 9999px → pills, buttons
*/

/* Hero image & large panels */
.hero-img-wrap,
.ss-form-card,
.about-img-wrap,
.premium-img,
.ss-who-section .ss-who-img-wrap {
  border-radius: var(--radius-xl) !important;
}

/* Cards */
.testimonial-card,
.blog-card-inner,
.faq-item,
.about-highlight-item,
.contact-form-wrap,
.ss-tcard {
  border-radius: var(--radius-lg) !important;
}

/* Hero stat tiles */
.hero-stat {
  border-radius: var(--radius-md) !important;
}

/* Process icons, avatar circles */
.process-num,
.process-icon-wrap,
.contact-icon-wrap,
.ah-icon,
.ail-icon {
  border-radius: var(--radius-md) !important;
}

/* Inputs & selects */
.form-group input,
.form-group select,
.form-group textarea,
.ss-form-group input,
.ss-form-group textarea,
.ss-select-wrap select {
  border-radius: var(--radius-md) !important;
}

/* Target cards */
.target-card {
  border-radius: var(--radius-lg) !important;
}

/* System cards */
.system-card {
  border-radius: var(--radius-xl) !important;
}

/* Stats bar items */
.stat-item {
  border-radius: var(--radius-md) !important;
}

/* Nav menu items */
.nav-menu li a {
  border-radius: var(--radius-sm) !important;
}

/* ── 3. Shadow Standardization — use tokens ── */
.hero-stat {
  box-shadow: var(--shadow-xs) !important;
}
.target-card {
  box-shadow: var(--shadow-sm) !important;
}
.target-card:hover {
  box-shadow: var(--shadow-md) !important;
}
.testimonial-card {
  box-shadow: var(--shadow-sm) !important;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md) !important;
}
.faq-item {
  box-shadow: var(--shadow-xs) !important;
}
.faq-item:hover {
  box-shadow: var(--shadow-sm) !important;
}
.contact-form-wrap {
  box-shadow: var(--shadow-lg) !important;
}

/* ── 4. Section Spacing — use sp tokens ── */
.section,
section.section {
  padding-top: var(--sp-12) !important;
  padding-bottom: var(--sp-12) !important;
}
@media (max-width: 768px) {
  .section,
  section.section {
    padding-top: var(--sp-8) !important;
    padding-bottom: var(--sp-8) !important;
  }
}
@media (max-width: 480px) {
  .section,
  section.section {
    padding-top: var(--sp-6) !important;
    padding-bottom: var(--sp-6) !important;
  }
}

/* Section heading margin */
.section-label {
  margin-bottom: var(--sp-1) !important;
}
.section-h2 {
  margin-bottom: var(--sp-2) !important;
}
.section-desc {
  margin-bottom: var(--sp-6) !important;
}

/* ── 5. Stats Bar — Visual Balance ── */
.stats-bar,
#stats-bar {
  padding: var(--sp-4) 0 !important;
}
.stat-item {
  padding: var(--sp-2) var(--sp-3) !important;
}
.ss-stat-num {
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}
.ss-stat-label,
.astat-label {
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.03em !important;
}

/* ── 6. Blog Cards — consistent text sizes ── */
.blog-card h3,
.blog-card-title {
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}
.blog-card-meta,
.blog-card .author-info {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

/* ── 7. CTA Banner — tighter heading ── */
#cta-banner h2 {
  font-size: clamp(24px, 4vw, 38px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
}

/* ── 8. Mobile Typography Scale ── */
@media (max-width: 768px) {
  h1, .entry-content :where(h1) {
    font-size: clamp(28px, 8vw, 34px) !important;
  }
  h2, .entry-content :where(h2) {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
  h3, .entry-content :where(h3) {
    font-size: clamp(18px, 5vw, 22px) !important;
  }
  .section-h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
}


/* ============================================================
   PHASE 3 — MICRO-ANIMATIONS & DELIGHT
   impeccable.style principles: Animate + Delight + Overdrive
   ============================================================ */

/* ── 0. Respect prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── 1. Fade-Up Entrance Animation ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Class ที่ JS จะเปิด animationPlayState เมื่อ element เข้า viewport */
.fade-up {
  animation: fadeUp 0.65s cubic-bezier(.22,.68,0,1.2) both;
  animation-play-state: paused;
}
.fade-in {
  animation: fadeIn 0.55s var(--ease) both;
  animation-play-state: paused;
}
.slide-left {
  animation: slideInLeft 0.6s var(--ease) both;
  animation-play-state: paused;
}
.slide-right {
  animation: slideInRight 0.6s var(--ease) both;
  animation-play-state: paused;
}
.scale-in {
  animation: scaleIn 0.5s cubic-bezier(.34,1.56,.64,1) both;
  animation-play-state: paused;
}

/* Stagger delay helpers */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ── 2. Navbar Scroll Effect ── */
#navbar {
  transition: background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              padding var(--t-base) var(--ease);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96) !important;
  box-shadow: 0 4px 24px rgba(6,26,51,.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#navbar.scrolled .nav-inner {
  height: 60px !important; /* เล็กลงเล็กน้อยเมื่อ scroll */
}

/* ── 3. Hero Entrance — เมื่อหน้าโหลด ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge  { animation: heroFadeUp 0.5s var(--ease) 0.1s both; }
.hero-h1     { animation: heroFadeUp 0.6s var(--ease) 0.2s both; }
.hero-desc   { animation: heroFadeUp 0.6s var(--ease) 0.35s both; }
.hero-btns   { animation: heroFadeUp 0.6s var(--ease) 0.5s both; }
.hero-stats  { animation: heroFadeUp 0.6s var(--ease) 0.65s both; }
.hero-img-wrap { animation: slideInRight 0.8s cubic-bezier(.22,.68,0,1.1) 0.3s both; }

/* ── 4. Card Hover — Glow + Lift (enhanced) ── */
.target-card {
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease) !important;
}
.target-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(0,103,216,.25) !important;
}

.ss-tcard {
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease) !important;
}
.ss-tcard:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Process card enhanced hover */
.process-card {
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease) !important;
}
.process-card:hover {
  transform: translateY(-6px) !important;
}

/* About highlight hover */
.about-highlight-item {
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease) !important;
}
.about-highlight-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* ── 5. Stats Bar — Number Pop Animation ── */
@keyframes numPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.astat-num.animated,
.ss-stat-num.animated {
  animation: numPop 0.5s cubic-bezier(.34,1.56,.64,1);
}

/* ── 6. Blog Skeleton Loading ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.blog-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-skeleton-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 600px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.skeleton-img {
  height: 200px;
  width: 100%;
}
.skeleton-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skeleton-line {
  height: 14px;
  border-radius: var(--radius-sm);
}
.skeleton-line.short  { width: 40%; }
.skeleton-line.medium { width: 75%; }
.skeleton-line.long   { width: 100%; }
.skeleton-line.title  { height: 18px; width: 90%; }

/* ── 7. FAQ — Enhanced Interaction ── */
.faq-item {
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease) !important;
}
.faq-item.active {
  border-color: rgba(0,103,216,.3) !important;
  box-shadow: var(--shadow-sm) !important;
}
.faq-item .faq-header {
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.faq-item.active .faq-header {
  color: var(--blue) !important;
}

/* ── 8. Social Links — Bounce Hover ── */
@keyframes socialBounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-5px); }
  70%       { transform: translateY(-2px); }
}
.social-link:hover {
  animation: socialBounce 0.4s var(--ease);
}

/* ── 9. Section Label — Slide-in Underline ── */
.section-label {
  position: relative;
  display: inline-block;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--t-slow) var(--ease),
              left var(--t-slow) var(--ease);
}
.section-label.visible::after,
.section-label:hover::after {
  width: 100%;
  left: 0;
}

/* ── 10. Blog Card — Enhanced Read More ── */
.blog-read-more {
  transition: gap var(--t-base) var(--ease),
              color var(--t-base) var(--ease) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card:hover .blog-read-more {
  gap: 12px !important;
  color: var(--blue) !important;
}
.blog-card:hover .blog-read-more .fas {
  transform: translateX(4px);
  transition: transform var(--t-base) var(--ease);
}

/* ── 11. Hero Stat — Shimmer on Hover ── */
.hero-stat {
  transition: transform var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease) !important;
}
.hero-stat:hover {
  transform: translateY(-3px) !important;
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,201,40,.35) !important;
}

/* ── 12. CTA Banner — Subtle Pulse on button ── */
@keyframes ctaPulse {
  0%, 100% { box-shadow: var(--shadow-solar); }
  50%       { box-shadow: 0 0 0 8px rgba(255,201,40,.15), var(--shadow-solar); }
}
#cta-banner .btn-primary {
  animation: ctaPulse 2.5s ease-in-out infinite;
}
#cta-banner .btn-primary:hover {
  animation: none;
  box-shadow: var(--shadow-solar-hover);
}

/* ── 13. Nav Link Hover — Underline Slide ── */
.nav-menu li a {
  position: relative;
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--t-base) var(--ease),
              left var(--t-base) var(--ease);
}
.nav-menu li a:hover::after {
  width: calc(100% - 28px);
  left: 14px;
}


/* ============================================================
   SECTION BACKGROUND RHYTHM — ทุก section ที่ติดกันสลับโทนชัดเจน
   3 โทนหลัก: DARK(navy) / WHITE(#fff) / SOFT(#F3F8FD)

   ① hero        DARK
   ② stats-bar   SOFT  ← ต่างจาก hero dark
   ③ services    WHITE ← ต่างจาก stats soft
   ④ system      DARK
   ⑤ bill        DARK+photo (visual break รุนแรงพอ)
   ⑥ process     (รูปพื้นหลัง — ไม่แก้)
   ⑦ about       SOFT
   ⑧ portfolio   WHITE ← ต่างจาก about soft
   ⑨ reviews     SOFT  ← ต่างจาก portfolio white
   ⑩ contact     DARK
   ⑪ faq         SOFT  ← ต่างจาก contact dark
   ⑫ cta-banner  DARK
   ⑬ blog        WHITE ← ต่างจาก cta dark
   ⑭ brands      SOFT  ← ต่างจาก blog white
   ⑮ footer      DARK
   ============================================================ */

/* ② Stats Bar — DARK (navy ต่อจาก hero) */
#stats-bar {
  background: linear-gradient(135deg, #061A33 0%, #0A2D5C 50%, #0d3570 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#stats-bar .astat-num, #stats-bar .ss-stat-num { color: var(--solar) !important; }
#stats-bar .astat-label, #stats-bar .ss-stat-label { color: rgba(255,255,255,.75) !important; }
#stats-bar .stat-divider { background: rgba(255,255,255,.15) !important; }

/* ③ Services — WHITE */
#services { background: #ffffff !important; }

/* ③.5 Who (เหมาะสำหรับทุกประเภท) — SOFT ← ต่างจาก services white */
#who { background: var(--soft) !important; }

/* ⑦ About — SOFT */
#about { background: var(--soft) !important; }

/* ⑧ Portfolio — WHITE */
#portfolio { background: #ffffff !important; box-shadow: none; }

/* ⑨ Reviews/Testimonials — SOFT */
#reviews { background: var(--soft) !important; }

/* ⑪ FAQ — SOFT */
#faq { background: var(--soft) !important; }

/* ⑬ Blog — WHITE */
#blog { background: #ffffff !important; }

/* ⑭ Brands — SOFT */
#brands {
  background: var(--soft) !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   HERO MOBILE PADDING FIX
   ป้องกัน content ชิดขอบบนบน mobile
   ============================================================ */
@media (max-width: 1024px) {
  /* Hero section — เว้นระยะจาก navbar */
  #ss-hero,
  section#hero,
  #hero {
    padding-top: 100px !important;
    padding-bottom: 60px !important;
  }
  .hero-inner {
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  #ss-hero,
  section#hero,
  #hero {
    padding-top: 90px !important;
    padding-bottom: 56px !important;
    min-height: auto !important;
  }
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 480px) {
  #ss-hero,
  section#hero,
  #hero {
    padding-top: 80px !important;
    padding-bottom: 48px !important;
  }
  .hero-inner {
    gap: 28px !important;
  }
  /* ลด font-size ปุ่ม hero บน mobile เล็ก */
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    font-size: 14px !important;
    padding: 12px 18px !important;
  }
}

@media (max-width: 390px) {
  #ss-hero,
  section#hero,
  #hero {
    padding-top: 72px !important;
  }
}

/* ── Blog Grid — Mobile Single Column ── */
@media (max-width: 768px) {
  .blog-grid,
  #blogGrid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .blog-skeleton {
    grid-template-columns: 1fr !important;
  }
}
