/* =========================================================
   FLY TECH – Mobile CSS (iOS + Android) - CI #00A987
   File: style.mobile.css
   Scope: Loaded only when (max-width: 980px)
   Brand Color: #00A987 (Teal Green)
   Notes:
   - Override-only (append style). Does NOT change PC layout.
   - Enhanced iOS Safari support with viewport units
   - Better touch interactions and accessibility
   - Optimized animations and transitions
   - Enhanced responsive typography
   ========================================================= */

@font-face {
  font-family: "Gotham Latin";
  src: local("Gotham Bold"), local("Gotham-Bold"),
       url("/assets/fonts/Gotham-Bold.woff2") format("woff2"),
       url("/assets/fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0300-036F, U+2000-206F, U+2074, U+20AC, U+2122;
}

/* ---------- 0) CSS Variables + Base Setup with FLY TECH CI ---------- */
:root {
  /* FLY TECH Brand Colors - CI #00A987 */
  --brand-primary: #00A987;
  --brand-primary-light: #00C9A1;
  --brand-primary-dark: #008C73;
  --brand-primary-darker: #006E5A;
  
  /* Brand color variations */
  --brand-gradient: linear-gradient(135deg, #00C9A1 0%, #00A987 50%, #008C73 100%);
  --brand-glow: 0 4px 20px rgba(0, 169, 135, 0.4);
  --brand-glow-strong: 0 6px 30px rgba(0, 169, 135, 0.6);
  
  /* Opacity variants */
  --brand-05: rgba(0, 169, 135, 0.05);
  --brand-08: rgba(0, 169, 135, 0.08);
  --brand-10: rgba(0, 169, 135, 0.10);
  --brand-15: rgba(0, 169, 135, 0.15);
  --brand-20: rgba(0, 169, 135, 0.20);
  --brand-30: rgba(0, 169, 135, 0.30);
  --brand-40: rgba(0, 169, 135, 0.40);
  --brand-50: rgba(0, 169, 135, 0.50);
  
  /* Layout */
  --header-h: 64px;
  --mob-pad: 16px;
  --mob-gap: 14px;
  
  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  
  /* Border radius scale */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  
  /* Typography scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --font-site: "Gotham Latin", "Noto Sans Thai", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-index scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;

  /* ── ย้ายมาจากบล็อก :root ที่บรรทัด 2365 (ยุบให้เหลือบล็อกเดียว 3 ก.ย. 2026) ── */
  --ft-size-item: 52px;
  --ft-size-main: 58px;
  --ft-right: 16px;
  --ft-bottom: 16px;
  
  --ft-top-size: 52px;
  --ft-top-left: 16px;
  --ft-top-bottom: 16px;
}

/* Base HTML setup */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  padding-top: var(--header-h) !important;

  /* ⚠️ ต้องเป็น clip ห้ามใช้ hidden
     hidden ทำให้ body กลายเป็น scroll container เอง
     → document.documentElement.scrollHeight เท่าความสูงจอ (852px) และ window.scrollY ค้างที่ 0 ตลอด
     → smooth-scroll.js / chaty.js ที่อ่าน window.scrollY ไม่ทำงาน
     → แถบ URL ของ Safari บน iOS ไม่ยุบตอนเลื่อน
     style.pc.css ใช้ clip อยู่แล้ว ไฟล์นี้จึงต้องตรงกัน */
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height */
}

/* iOS safe area support */
@supports (padding: env(safe-area-inset-top)) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Enhanced tap targets for better UX */
a, button, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 44px; /* Apple HIG minimum */
}

/* Prevent text selection on interactive elements */
button, .btn, .menu-toggle {
  -webkit-user-select: none;
  user-select: none;
}

/* Images optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ui-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}

.icon-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Smooth scrolling for iOS */
.scrollable {
  -webkit-overflow-scrolling: touch;
}


/* ---------- 1) HEADER: Enhanced Mobile Navigation with Brand Color ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(10, 20, 18, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--brand-20);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Hide header on scroll down, show on scroll up */
.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 40px var(--brand-10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--mob-pad) !important;
  gap: var(--space-sm);
  max-width: 100%;
  margin: 0 auto;
}

/* Logo area - improved touch target with brand accent */
.logo-box {
  width: 44px !important;
  height: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-15), var(--brand-08));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 
              inset 0 1px 2px var(--brand-20),
              0 0 20px var(--brand-10);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid var(--brand-20);
}

.logo-box:active {
  transform: scale(0.95);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2), 0 0 15px var(--brand-20);
}

.logo-text span:first-child {
  font-size: 1.15rem !important;
  letter-spacing: 0.06em !important;
  font-weight: 700;
  color: var(--brand-primary-light);
}

.logo-text span:last-child {
  font-size: 0.82rem !important;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Button with Brand Color */
.phone-label {
  display: none !important;
}

.btn-phone {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
  background: var(--brand-gradient);
  color: white;
  border: 1px solid var(--brand-primary);
  box-shadow: var(--brand-glow);
}

.btn-phone:active {
  transform: scale(0.96);
  box-shadow: 0 2px 10px var(--brand-30);
  background: var(--brand-primary-dark);
}

/* Hamburger menu - enhanced with brand accent */
.menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-08);
  border: 1px solid var(--brand-20);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.menu-toggle:active {
  transform: scale(0.95);
  background: var(--brand-15);
  box-shadow: 0 0 20px var(--brand-20);
}

.menu-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--brand-20) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.menu-toggle:active::before {
  opacity: 1;
}

/* Mobile navigation dropdown with brand styling */
.main-nav {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
  left: 0;
  right: 0;
  z-index: calc(var(--z-fixed) - 1);
  display: grid !important;
  gap: 2px !important;
  
  padding: var(--space-md) var(--mob-pad) var(--space-lg) !important;
  background: rgba(10, 20, 18, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  
  border-bottom: 1px solid var(--brand-20);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 60px var(--brand-10);
  
  /* Closed state */
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all var(--transition-base);
  
  /* Max height for scroll on small screens */
  max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
  max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Open state - multiple class support */
.main-nav.is-open,
.main-nav.open,
.main-nav.active,
.site-header.is-open .main-nav,
body.menu-open .main-nav {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Menu backdrop blur for body */
body.menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-fixed) - 2);
  animation: fadeIn var(--transition-base);
}

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

/* Navigation links with brand hover */
.main-nav a {
  display: flex;
  align-items: center;
  padding: 14px 16px !important;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.main-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-20), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.main-nav a:hover::before {
  opacity: 1;
}

.main-nav a:active {
  transform: scale(0.98);
  background: var(--brand-10);
  border-color: var(--brand-30);
  box-shadow: 0 0 15px var(--brand-15);
}

.main-nav a.active {
  background: var(--brand-15);
  border-color: var(--brand-40);
  font-weight: 600;
  box-shadow: 0 0 20px var(--brand-20);
}


/* ---------- 2) HERO SECTION: Enhanced Mobile Layout with Brand ---------- */
.ft-hero {
  padding: 32px 0 40px !important;
  position: relative;
  overflow: hidden;
}

.ft-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, var(--brand-05) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.ft-hero__inner {
  width: min(980px, 100%) !important;
  padding: 0 var(--mob-pad) !important;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: var(--space-lg) !important;
  align-items: start !important;
  position: relative;
  z-index: 1;
}

/* Badge with brand color */
.ft-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 10px 14px;
  border-radius: 100px;
  background: var(--brand-10);
  border: 1px solid var(--brand-30);
  font-size: var(--text-sm);
  font-weight: 500;
  backdrop-filter: blur(10px);
  width: fit-content;
  box-shadow: 0 0 20px var(--brand-10);
  color: var(--brand-primary-light);
}

/* Title with brand gradient */
.ft-hero__title {
  font-size: clamp(28px, 8vw, 42px) !important;
  line-height: 1.15 !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0 12px !important;
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-primary-light) 50%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px var(--brand-10);
}

.ft-hero__lead {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--space-lg);
}

/* Action buttons with brand colors */
.ft-hero__actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  width: 100%;
}

.ft-btn {
  width: 100% !important;
  min-height: 52px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  border: none;
  cursor: pointer;
}

.ft-btn:active {
  transform: scale(0.98);
}

.ft-btn--primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: var(--brand-glow);
}

.ft-btn--primary:active {
  box-shadow: 0 2px 10px var(--brand-30);
  background: var(--brand-primary-dark);
}

.ft-btn--secondary {
  background: var(--brand-10);
  color: var(--brand-primary-light);
  border: 1px solid var(--brand-30);
  box-shadow: 0 0 20px var(--brand-10);
}

.ft-btn--secondary:active {
  background: var(--brand-15);
  border-color: var(--brand-40);
}

/* Stage/Demo area with brand glow */
.ft-stage {
  position: relative;
  min-height: 380px !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--brand-20);
  box-shadow: var(--shadow-xl), 0 0 60px var(--brand-10);
}

.ft-droneWrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 140px !important;
  animation: floatSmooth 6s ease-in-out infinite;
}

@keyframes floatSmooth {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.ft-drone {
  width: min(480px, 92%) !important;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 30px var(--brand-20));
  transition: transform var(--transition-slow);
}

/* Bottom info bar with brand accent */
.ft-stage__bar {
  position: absolute;
  left: 12px !important;
  right: 12px !important;
  bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 18px !important;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 30px rgba(0, 169, 135, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.ft-stage__meta {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
}

.ft-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem !important;
  font-weight: 700;
  padding: 8px 14px !important;
  border-radius: 8px;
  background: #f0fdf9;
  color: #00a987;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 2px solid #00a987;
}

.ft-meta {
  display: block !important;
  line-height: 1.5 !important;
  font-size: 0.85rem !important;
  color: #475569;
  font-weight: 500;
  margin-top: 4px;
}

.ft-miniCta {
  flex-shrink: 0;
  padding: 12px 18px !important;
  font-size: 0.9rem !important;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #00a987, #008c73);
  color: white;
  white-space: nowrap;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 169, 135, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.ft-miniCta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0, 169, 135, 0.2);
}


/* ---------- 3) SECTIONS: Enhanced Spacing & Typography ---------- */
.section {
  padding: 3rem 0 !important;
  position: relative;
}

.section:first-of-type {
  padding-top: 2rem !important;
}

.section-title {
  font-size: clamp(1.5rem, 5vw, 2rem) !important;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  color: #1f2937 !important;
  text-align: center;
}

.section-subtitle {
  font-size: 0.95rem !important;
  line-height: 1.6;
  color: #6b7280 !important;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.container {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--mob-pad) !important;
  margin: 0 auto;
}


/* ---------- 4) PRODUCTS: Clean White Cards (Image 2 Style) ---------- */
#products .container {
  max-width: 100% !important;
}

.products-video-hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin: -3rem calc(50% - 50vw) 2.6rem;
  overflow: hidden;
  background: #071411;
  display: grid;
  place-items: start center;
  text-align: center;
  color: #ffffff;
}

.products-video-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.products-video-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.2) 100%),
    radial-gradient(circle at 50% 9%, rgba(0, 0, 0, 0.22), transparent 42%);
}

.products-video-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: max(5rem, 9vh) 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products-video-hero__content h2 {
  margin: 0;
  color: #ffffff !important;
  font-family: var(--font-site);
  font-size: clamp(2.35rem, 11.2vw, 4.05rem) !important;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.006em;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.products-video-hero__content p {
  margin: 0.8rem 0 1.25rem;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.products-video-hero__btn {
  min-height: 44px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(72, 76, 74, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.products-video-hero__play {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
  gap: 16px !important;
}

/* ===== PROMO BANNER — แบนเนอร์แนะนำสินค้า (มือถือ) ===== */
.promo-banner {
  margin: 0 0 18px;
  max-width: none;
  padding: 14px;
  border-radius: 20px;
  gap: 14px;
}

.promo-banner__media {
  padding: 8px;
  border-radius: 14px;
}

.promo-banner__media img {
  max-height: 210px;
}

.promo-banner__title {
  font-size: 1.5rem;
  line-height: 1.22;
}

.promo-banner__desc {
  font-size: 0.94rem;
  line-height: 1.7;
}

.promo-banner__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.promo-banner__action {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 4px;
}

.promo-banner__price strong {
  font-size: 1.7rem;
}

.promo-banner__cta {
  width: 100%;
  min-width: 0;
  text-align: center;
}

@keyframes ftBlinkLight {
  0%, 11%, 100% {
    opacity: 0.42;
    transform: scale(0.78);
    box-shadow:
      0 0 0 2px rgba(0, 215, 174, 0.07),
      0 0 5px rgba(0, 255, 212, 0.18),
      0 0 10px rgba(0, 215, 174, 0.08);
  }
  18% {
    opacity: 0.82;
    transform: scale(1);
    box-shadow:
      0 0 0 5px rgba(0, 215, 174, 0.14),
      0 0 13px rgba(0, 255, 212, 0.52),
      0 0 24px rgba(0, 215, 174, 0.24);
  }
  24% {
    opacity: 1;
    transform: scale(1.26);
    box-shadow:
      0 0 0 8px rgba(0, 215, 174, 0.2),
      0 0 20px rgba(0, 255, 212, 0.86),
      0 0 42px rgba(0, 215, 174, 0.46);
  }
  34% {
    opacity: 0.5;
    transform: scale(0.86);
    box-shadow:
      0 0 0 3px rgba(0, 215, 174, 0.08),
      0 0 7px rgba(0, 255, 212, 0.22),
      0 0 14px rgba(0, 215, 174, 0.1);
  }
}

.product-card {
  padding: 20px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  transition: all var(--transition-base);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  position: relative;
  overflow: visible;
}

.product-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-color: #d1d5db !important;
}

/* ===== SPOTLIGHT CARD — การ์ดสินค้าใหม่ T55 (มือถือ) ===== */
.product-card.product-card--spotlight {
  max-width: none;
  margin: 0 0 18px;
  padding: 20px;
  gap: 14px;
}

.product-card__flag {
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  padding: 6px 12px;
}

.product-highlights {
  gap: 8px 10px;
  font-size: 0.86rem;
}

.product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.product-head.product-head--right-logo {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: start;
  gap: 12px !important;
}

/* Category badge */
.product-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1f2937 !important;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280 !important;
  margin-bottom: 0;
}

.product-dji-logo {
  width: 56px !important;
  height: 56px;
  border-radius: 12px !important;
  background: #000000;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.product-dji-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Gallery with transparent/white background */
.product-gallery {
  width: 100%;
  height: 240px !important;
  border-radius: 16px;
  overflow: visible;
  background: transparent !important;
  margin: 24px 0 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  transition: transform var(--transition-slow);
}

.product-card:active .product-gallery img {
  transform: scale(1.05);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 0;
  border-top: none;
  margin-top: var(--space-md);
}

/* Price styling */
.product-price-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary) !important;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-price-amount {
  font-size: 1.25rem;
}

.product-price-currency {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Additional info text */
.product-info-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* CTA Button - outlined style matching image 2 */
.product-cta {
  padding: 12px 24px !important;
  background: transparent !important;
  color: var(--brand-primary) !important;
  border: 2px solid var(--brand-primary) !important;
  border-radius: 50px !important;
  font-size: 0.875rem !important;
  font-weight: 600;
  box-shadow: none !important;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.product-cta:active {
  transform: scale(0.97);
  background: var(--brand-primary) !important;
  color: white !important;
}


/* ---------- 5) CONTACT STRIP HERO: PROPER MOBILE LAYOUT ---------- */
.contact-strip {
  --cs-pad-y: 48px;
  padding: var(--cs-pad-y) 0;
  position: relative;
  overflow: hidden;
}

/* Main container */
.contact-strip-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--mob-pad);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

/* Left section */
.contact-strip-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

/* 1. Person image */
.contact-strip-person {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.contact-strip-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2. Copy section */
.contact-strip-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

/* Heading */
.contact-strip-head {
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 0;
}

/* Subtitle */
.contact-strip-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

.contact-strip-sub strong {
  font-weight: 700;
  color: #ffffff;
}

/* 3. Buttons */
.contact-strip-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.contact-strip-buttons .btn-contact {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.contact-strip-buttons .btn-contact--primary {
  background: var(--brand-gradient);
  color: white;
  border: none;
  box-shadow: var(--brand-glow);
}

.contact-strip-buttons .btn-contact--primary:active {
  transform: scale(0.98);
  background: var(--brand-primary-dark);
}

.contact-strip-buttons .btn-contact:not(.btn-contact--primary) {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-strip-buttons .btn-contact:not(.btn-contact--primary):active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.2);
}

/* 4. QR Code */
.contact-strip-qr-link {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-strip.contact-strip--hero {
  --cs-qr-size: 220px;
}

.contact-strip-qr {
  width: var(--cs-qr-size, 220px);
  height: var(--cs-qr-size, 220px);
  border-radius: var(--radius-lg);
  padding: 14px;
  background: white;
  box-shadow: var(--shadow-xl), var(--brand-glow-strong);
  border: 4px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-strip-qr:active {
  transform: scale(0.98);
}

.contact-strip-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ---------- 6) SERVICES: 2-Column Grid with Brand Hover ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.service-card {
  padding: 16px 12px !important;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-10), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:active::before {
  opacity: 1;
}

.service-card:active {
  transform: translateY(-2px);
  background: var(--brand-05);
  box-shadow: var(--shadow-md), 0 0 20px var(--brand-15);
  border-color: var(--brand-30);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-xs);
  filter: drop-shadow(0 4px 8px var(--brand-20));
}

.service-title {
  font-size: 0.9rem !important;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}


/* ---------- 7) PROMO SECTIONS: Enhanced with Brand Accents ---------- */
.promo-inner {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: var(--space-xl) !important;
  padding: 32px var(--mob-pad) !important;
  align-items: center;
}

.promo-quote {
  font-size: clamp(1.6rem, 8vw, 2.4rem) !important;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Lock text - prevent scrolling/selection */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  touch-action: none;
  position: relative;
  z-index: 10;
}

.promo-art {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
}

.promo-art img {
  max-width: 100% !important;
  max-height: 300px !important;
  transform: translateY(0) !important;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px var(--brand-15));
}

/* Light promo variant */
.promo-inner--light {
  grid-template-columns: 1fr !important;
  padding: 0 var(--mob-pad) !important;
  gap: var(--space-md) !important;
}

.promo-photo {
  width: 100%;
  border-radius: var(--radius-lg) !important;
  min-height: 220px !important;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid var(--brand-10);
}

.promo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card {
  border-radius: var(--radius-lg) !important;
  padding: 24px 20px !important;
  background: var(--brand-05);
  border: 1px solid var(--brand-20);
  box-shadow: var(--shadow-md), 0 0 30px var(--brand-10);
  margin-top: 16px;
}

.promo-bullets {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-top: var(--space-md);
}

.promo-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--brand-primary);
}


/* ---------- 8) FINANCE: 3-Column Horizontal Layout (Smaller Cards) ---------- */
.finance-offer {
  padding: 40px 0 48px !important;
}

.finance-grid {
  display: grid;
  /* ต้องเป็น minmax(0, 1fr) ไม่ใช่ 1fr เฉย ๆ
     เพราะ 1fr มี min เป็น min-content ทำให้คอลัมน์ไม่ยอมหดต่ำกว่าเนื้อหา
     แล้วล้นออกนอกจอที่ความกว้าง 320px (วัดได้ว่าเกิน 62px) */
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.finance-item {
  padding: 20px 12px !important;
  border-radius: var(--radius-md);
  background: var(--brand-05);
  border: 1px solid var(--brand-20);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm), 0 0 20px var(--brand-08);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}

.finance-item:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--brand-glow);
  border-color: var(--brand-40);
}

.finance-icon {
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-15), var(--brand-08));
  border: 2px solid var(--brand-20);
  flex-shrink: 0 !important;
}

.finance-icon-img {
  width: 48px !important;
  height: 48px !important;
  filter: drop-shadow(0 2px 4px var(--brand-20));
}

.finance-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  margin-bottom: 0;
  color: #1f2933;
  line-height: 1.3;
  letter-spacing: .01em;
}

.finance-text strong {
  display: block;
  font-size: 0.95rem !important;
  font-weight: 900;
  color: #1f2933;
  letter-spacing: .01em;
  line-height: 1.3;
}

.finance-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}


/* ---------- 9) CONTACT STRIP BANNER: Proper Mobile Layout ---------- */
.contact-strip--banner {
  padding: 48px 0 !important;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%) !important;
  position: relative;
  overflow: hidden;
}

.contact-strip--banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Main container */
.contact-strip--banner .contact-strip-inner--banner {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--mob-pad) !important;
  margin: 0 auto;
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  align-items: center !important;
  position: relative;
  z-index: 1;
}

/* Left section (title + buttons) */
.contact-strip--banner .contact-left {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  align-items: center !important;
}

/* Title */
.contact-strip--banner .contact-title {
  text-align: center;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.contact-strip--banner .contact-title strong {
  font-size: clamp(32px, 8vw, 48px) !important;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-strip--banner .contact-title span {
  font-size: 16px !important;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Action buttons - stack vertically and center */
.contact-strip--banner .contact-actions {
  width: 100% !important;
  max-width: 300px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 auto !important;
}

.contact-strip--banner .contact-pill,
.contact-strip--banner .btn-contact {
  width: 100% !important;
  max-width: 280px !important;
  min-height: 52px;
  padding: 12px 20px;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 16px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: none;
}

/* Phone button (white) */
.contact-strip--banner .contact-pill--phone {
  background: #ffffff !important;
  color: var(--brand-primary-dark) !important;
}

.contact-strip--banner .contact-pill--phone:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Other buttons (transparent) */
.contact-strip--banner .btn-contact {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(10px);
}

.contact-strip--banner .btn-contact:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.25) !important;
}

/* QR Code section */
.contact-strip--banner .contact-strip-qr-link {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 16px 0 !important;
}

.contact-strip--banner .contact-strip-qr {
  width: 240px !important;
  height: 240px !important;
  padding: 18px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 0 4px rgba(255, 255, 255, 0.3) !important;
  transition: transform 0.2s ease;
}

.contact-strip--banner .contact-strip-qr:active {
  transform: scale(0.98);
}

.contact-strip--banner .contact-strip-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Person image - show on mobile and center */
.contact-strip--banner .contact-person {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  order: -1 !important;
  margin-bottom: 24px !important;
}

.contact-strip--banner .contact-person img {
  width: 280px !important;
  height: 280px !important;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}


/* ---------- 10) WHY DRONE: Single Column with Brand Borders ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 20px !important;
}

.why-item {
  display: grid;
  gap: var(--space-md);
}

.why-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md), 0 0 20px var(--brand-10);
  border: 1px solid var(--brand-15);
}

.why-media img,
.why-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.why-media video {
  object-position: 62% center;
}

.why-content {
  padding: var(--space-md);
}

.why-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--brand-primary-light);
}

.why-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}


/* ---------- 11) PARTNERS: PC-Style Layout (5 Full Logos Visible) ---------- */
.partner-head {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 14px;
}

.partner-kicker {
  max-width: 920px;
  margin: 0 auto 18px;
  color: var(--brand-primary);
  font-weight: 900;
  font-size: clamp(1.05rem, 1.2vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.partner-divider {
  width: min(860px, 92%);
  height: 2px;
  margin: 0 auto 18px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--brand-primary),
    transparent
  );
  border-radius: 999px;
}

.partner-band {
  margin-top: 40px !important;
  padding: 18px 0 10px;
  background: transparent;
  overflow: hidden;
}

.partner-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.partner-title {
  text-align: center;
  font-weight: 900;
  font-size: 1.35rem;
  margin: 0 0 14px;
  color: #1f2937;
}

/* Full-width container with fade edges */
.partner-viewport {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  --fade: 50px;
  --edge-pad: calc(var(--fade) + 15px);
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding-inline: var(--edge-pad) !important;
  
  /* Fade mask for smooth edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--fade),
    #000 calc(100% - var(--fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--fade),
    #000 calc(100% - var(--fade)),
    transparent 100%
  );
}

/* Gradient overlays for fade effect */
.partner-viewport::before,
.partner-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--fade);
  pointer-events: none;
  z-index: 2;
}

.partner-viewport::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.partner-viewport::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

/* Auto-scrolling track with smooth animation */
.partner-track {
  display: flex;
  align-items: center;
  gap: 30px !important;
  will-change: transform;
  
  /* Continuous auto-scroll */
  animation: scrollPartners 35s linear infinite;
  animation-play-state: running;
}

@keyframes scrollPartners {
  0% { 
    transform: translateX(0); 
  }
  100% { 
    transform: translateX(-50%); 
  }
}

/* Pause on interaction */
.partner-track:hover,
.partner-track:active {
  animation-play-state: paused;
}

/* Touch device pause */
@media (hover: none) and (pointer: coarse) {
  .partner-viewport:active .partner-track {
    animation-play-state: paused;
  }
}

/* 5 FULL logos visible - PC desktop style */
.partner-track img {
  /* Calculate to show exactly 5 logos */
  flex: 0 0 calc((100vw - var(--edge-pad) * 2 - 30px * 4) / 5) !important;
  min-width: 150px;
  max-width: 220px;
  height: 140px !important;
  width: auto;
  object-fit: contain;
  display: block;
  /* Remove grayscale - show full colors */
  filter: none;
  opacity: 1;
  transition: all var(--transition-base);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  
  /* Ensure crisp rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Hover effect - just scale up */
.partner-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Smooth animation preference */
@media (prefers-reduced-motion: no-preference) {
  .partner-track {
    animation-play-state: running !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation: none !important;
  }
}

/* Partner video section */
.partner-video {
  width: 100% !important;
  max-width: var(--max-width, 1200px);
  padding: 0 var(--mob-pad) !important;
  margin: var(--space-xl) auto 0;
}

.partner-video video,
.partner-video iframe {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-soft, #e5e7eb);
}

/* Ensure logos are centered vertically */
.partner-viewport {
  display: flex;
  align-items: center;
  min-height: 160px;
}


/* ---------- 12) ABOUT & CTA: Mobile Single Column with QR at Bottom ---------- */
.about-card {
  border-radius: 24px;
  padding: 3rem 2.5rem !important;
  
  /* PC-style dark gradient with brand color */
  background: linear-gradient(
    120deg,
    rgba(0, 169, 135, 0.08),
    rgba(8, 47, 35, 0.9)
  ),
  #020617;
  
  color: #e5e7eb;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  align-items: start;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
}

.about-content {
  width: 100%;
}

.about-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.3;
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.about-quote {
  margin-top: 1.5rem;
  padding: 1.2rem;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: #bbf7d0;
  background: rgba(187, 247, 208, 0.08);
  border-left: 4px solid var(--brand-primary);
  border-radius: 8px;
  line-height: 1.6;
}

.about-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-meta-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-primary-light);
  margin-bottom: 0.5rem;
}

.about-meta-address {
  font-size: 0.9rem;
  color: #cbd5f5;
  line-height: 1.6;
}

/* Map section - moved to bottom */
.about-map {
  width: 100%;
  min-height: 280px !important;
  border-radius: 20px !important;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.about-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px !important;
  border: 0;
  display: block;
  border-radius: inherit;
}

/* ========== CTA BAND - MOBILE SINGLE COLUMN ========== */
.cta-band {
  margin-top: 1rem;
  border-radius: 0 !important; /* Remove rounded corners */
  padding: 2rem 1.5rem !important;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  
  /* FORCE single column */
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  align-items: stretch !important;
}

/* Left section - full width */
.cta-left {
  width: 100% !important;
  order: 1;
}

.cta-title {
  font-size: 1.25rem !important;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-align: center;
}

.cta-subtitle {
  font-size: 0.95rem !important;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Action buttons - stack vertically on mobile */
.cta-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 1rem 0 1.5rem 0;
}

.cta-actions .btn-primary,
.cta-actions .btn-secondary {
  width: 100% !important;
  min-height: 52px;
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  border-radius: 14px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.cta-actions .btn-primary {
  background: white;
  color: var(--brand-primary-dark);
  border: none;
}

.cta-actions .btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.cta-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.cta-actions .btn-secondary:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.25);
}

/* Social icons */
.cta-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 0.5rem;
}

.cta-social-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.cta-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.social-icon::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.social-facebook::before {
  background-image: url("/images/social/icon-facebook.png");
}

.social-youtube::before {
  background-image: url("/images/social/icon-youtube.png");
}

.social-tiktok::before {
  background-image: url("/images/social/icon-tiktok.png");
}

.social-icon:hover,
.social-icon:active {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Right section - QR CODE AT BOTTOM */
.cta-right {
  width: 100% !important;
  order: 2;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Line card - redesigned for mobile - CENTERED */
.line-card {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 400px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1.25rem !important;
  box-shadow: none !important;
}

/* QR Code - centered and prominent */
.line-card > a {
  order: 1;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  text-decoration: none;
}

.line-card-qr {
  width: 240px !important;
  height: 240px !important;
  border-radius: 20px !important;
  background: #ffffff;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  padding: 16px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 0 4px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  margin: 0 auto !important;
}

.line-card-qr:active {
  transform: scale(0.98);
}

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

/* Text section - CENTERED BELOW QR */
.line-card-text {
  width: 100% !important;
  text-align: center !important;
  order: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.line-kicker {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.line-id {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.line-id span {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.line-benefits {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  width: 100%;
}

.line-benefits li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.line-benefits li::before {
  content: "•";
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  line-height: 1;
}


/* ---------- 13) FOOTER: PC-Style Horizontal Layout ---------- */
.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.6rem 0 2rem 0 !important;
  margin-top: 3rem;
  font-size: 0.82rem;
}

.cta-band + .site-footer,
#about + .site-footer,
main:has(.cta-band) + .site-footer {
  margin-top: 0 !important;
}

.footer-inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 var(--mob-pad) !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem !important;
  align-items: center !important;
  flex-direction: row !important;
}

.footer-company {
  max-width: 420px;
}

.footer-logo {
  margin-bottom: var(--space-sm);
  filter: none;
}

.footer-contact {
  text-align: right !important;
}

.footer-contact p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #9ca3af;
  margin-bottom: var(--space-xs);
}

.footer-contact a {
  color: #e5e7eb;
  font-weight: 600;
  transition: color var(--transition-fast);
}

/* CTA + footer final mobile normalization */
.cta-band {
  margin-top: 0 !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.cta-band + .site-footer,
#about + .site-footer,
main:has(.cta-band) + .site-footer {
  margin-top: 0 !important;
}

.footer-contact a:active,
.footer-contact a:hover {
  color: var(--brand-primary-light);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  justify-content: flex-end;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.footer-social a:active,
.footer-social a:hover {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px var(--brand-20);
}

.footer-links {
  display: flex;
  gap: 2rem;
  width: auto;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: #e5e7eb;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--space-xs);
}

.footer-col a {
  font-size: 0.82rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:active,
.footer-col a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
  width: 100%;
}


/* ---------- 14) FLOATING ACTION BUTTONS: Enhanced with Brand ---------- */
.floating-buttons {
  position: fixed;
  right: var(--ft-right);
  bottom: var(--ft-bottom);
  z-index: var(--z-fixed);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: var(--ft-size-item);
  height: var(--ft-size-item);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  box-shadow: var(--brand-glow-strong);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.fab:active {
  transform: scale(0.9);
  box-shadow: 0 2px 15px var(--brand-30);
}

.fab--main {
  width: var(--ft-size-main);
  height: var(--ft-size-main);
  box-shadow: 0 6px 30px var(--brand-40);
}

.fab--phone {
  background: linear-gradient(135deg, #2196F3, #1565C0);
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
}

.fab--line {
  background: linear-gradient(135deg, #00B900, #009900);
  box-shadow: 0 4px 20px rgba(0, 185, 0, 0.4);
}

/* Tooltip with brand styling */
.ft-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 12px !important;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  font-size: 13px !important;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-md), 0 0 15px var(--brand-10);
  border: 1px solid var(--brand-20);
}

.fab:hover .ft-tip {
  opacity: 1;
}

/* Back to top button with brand accent */
.back-to-top {
  position: fixed;
  left: var(--ft-top-left);
  bottom: var(--ft-top-bottom);
  width: var(--ft-top-size);
  height: var(--ft-top-size);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-10);
  backdrop-filter: blur(10px);
  border: 1px solid var(--brand-30);
  color: var(--brand-primary-light);
  cursor: pointer;
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md), 0 0 20px var(--brand-10);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:active {
  transform: scale(0.9);
  background: var(--brand-15);
}


/* ---------- 15) UTILITIES ---------- */

/* Hide on mobile */
.hide-mobile {
  display: none !important;
}

/* Show only on mobile */
.show-mobile {
  display: block !important;
}

.show-mobile-flex {
  display: flex !important;
}

.show-mobile-grid {
  display: grid !important;
}

/* Text alignment */
.text-center-mobile {
  text-align: center !important;
}

.text-left-mobile {
  text-align: left !important;
}

/* Spacing utilities */
.mt-mobile-sm { margin-top: var(--space-sm) !important; }
.mt-mobile-md { margin-top: var(--space-md) !important; }
.mt-mobile-lg { margin-top: var(--space-lg) !important; }

.mb-mobile-sm { margin-bottom: var(--space-sm) !important; }
.mb-mobile-md { margin-bottom: var(--space-md) !important; }
.mb-mobile-lg { margin-bottom: var(--space-lg) !important; }

.p-mobile-sm { padding: var(--space-sm) !important; }
.p-mobile-md { padding: var(--space-md) !important; }
.p-mobile-lg { padding: var(--space-lg) !important; }

/* Full width on mobile */
.full-width-mobile {
  width: 100% !important;
  max-width: 100% !important;
}


/* ---------- 16) ANIMATIONS ---------- */

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Slide up animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

/* Pulse animation with brand glow */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px var(--brand-20);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--brand-40);
  }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}


/* ---------- 17) LOADING STATES with Brand ---------- */

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    var(--brand-10) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: inherit;
}


/* ---------- 18) ACCESSIBILITY ---------- */

/* Focus visible for keyboard navigation with brand */
*:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--brand-10);
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: var(--mob-pad);
  z-index: var(--z-tooltip);
  padding: 12px 16px;
  background: white;
  color: var(--brand-primary-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  transition: top var(--transition-fast);
  border: 2px solid var(--brand-primary);
}

.skip-to-content:focus {
  top: var(--space-md);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ---------- 19) PERFORMANCE OPTIMIZATIONS ---------- */

/* Will-change for animated elements */
.ft-droneWrap,
.partner-track,
.fab {
  will-change: transform;
}

/* Contain layout for isolated components */
.product-card,
.service-card,
.finance-item {
  contain: layout style paint;
}

/* GPU acceleration for smooth animations */
.main-nav,
.fab,
.back-to-top {
  transform: translateZ(0);
  backface-visibility: hidden;
}


/* ---------- 20) REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .ft-droneWrap,
  .partner-track,
  .animate-fade-in,
  .animate-slide-up,
  .animate-pulse {
    animation: none !important;
  }
}


/* ---------- 21) DARK MODE SUPPORT (if implemented) ---------- */

/* Removed empty color-scheme block for performance */


/* ---------- 22) PRINT STYLES ---------- */

@media print {
  .site-header,
  .floating-buttons,
  .back-to-top,
  .menu-toggle {
    display: none !important;
  }
  
  body {
    padding-top: 0 !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
}


@keyframes ftT55Reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ftT55Sweep {
  0%, 45% { background-position: 150% 0; }
  75%, 100% { background-position: -60% 0; }
}


/* ========================================================= 
   END OF FLY TECH MOBILE CSS - Brand Color: #00A987
   ========================================================= */

   /* === FIX: Center all 4 contact elements to same axis as section-title === */

/* container หลัก */
.contact-strip-inner,
.contact-strip-left,
.contact-strip-copy,
.contact-strip-buttons,
.contact-strip-qr-link {
  align-items: center !important;
  text-align: center !important;
}

/* บังคับความกว้างเท่ากัน */
.contact-strip-copy,
.contact-strip-buttons {
  max-width: 420px;
  width: 100%;
}

/* ปุ่มทุกปุ่ม */
.contact-strip-buttons a,
.contact-strip--banner .contact-actions a {
  justify-content: center !important;
  text-align: center !important;
}

/* QR ให้อยู่แกนเดียวกันจริง */
.contact-strip-qr-link {
  display: flex !important;
  justify-content: center !important;
}

.contact-strip-person {
  margin-left: auto !important;
  margin-right: auto !important;
}

.center-axis {
  max-width: 420px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* ================================
   FORCE CENTER AXIS (Mobile)
   Align contact strip with .container (Services title)
   ================================ */

/* 1) ทำให้ contact strip ใช้แกนกลางเดียวกับ .container */
@media (max-width: 980px){
  .contact-strip.contact-strip--hero .contact-strip-inner,
  .contact-strip.contact-strip--banner .contact-strip-inner,
  .contact-strip .contact-strip-inner,
  .contact-strip .contact-strip-inner--banner{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--mob-pad) !important;
    padding-right: var(--mob-pad) !important;
    align-items: center !important;
  }

  /* 2) ล็อกแกนกลางของ “กลุ่มซ้าย” ให้ตรง */
  .contact-strip.contact-strip--hero .contact-strip-left,
  .contact-strip.contact-strip--banner .contact-left,
  .contact-strip .contact-strip-left,
  .contact-strip .contact-left{
    width: 100% !important;
    max-width: 420px !important;   /* ให้ฐานเดียวกับข้อความหัวข้อ */
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* 3) บังคับรูปคน/ข้อความ/ปุ่ม/QR ให้ “อยู่แกนเดียวกัน” */
  .contact-strip .contact-strip-person{
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .contact-strip .contact-strip-copy,
  .contact-strip .contact-strip-buttons,
  .contact-strip .contact-actions,
  .contact-strip .contact-strip-qr-link{
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* 4) ปุ่มทุกปุ่มกึ่งกลางแน่ ๆ */
  .contact-strip .contact-strip-buttons a,
  .contact-strip--banner .contact-actions a{
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 980px){
  /* ฐานแกนกลางให้เหมือน section .container */
  .contact-strip .contact-strip-inner,
  .contact-strip .contact-strip-inner--banner{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-left: var(--mob-pad) !important;
    padding-right: var(--mob-pad) !important;
  }

  /* ให้ทุกชิ้น “มีแกนกลางเดียวกัน” ด้วย max-width เดียว */
  .contact-strip .contact-strip-left,
  .contact-strip .contact-left,
  .contact-strip .contact-strip-copy,
  .contact-strip .contact-strip-buttons,
  .contact-strip .contact-actions,
  .contact-strip .contact-strip-qr-link{
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ปุ่ม */
  .contact-strip .contact-strip-buttons a,
  .contact-strip .contact-actions a{
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* วงกลมรูปคน */
  .contact-strip .contact-strip-person{
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ================================
   Mobile: Smaller centered buttons (Contact strip)
   ================================ */
@media (max-width: 980px){

  /* กล่องรวมปุ่ม: ให้จัดกลาง */
  .contact-strip-buttons,
  .contact-strip--banner .contact-actions{
    align-items: center !important;
  }

  /* ปุ่มทั้งหมด: ไม่เต็มจอ, อยู่กลาง, เล็กลง */
  .contact-strip-buttons .btn-contact,
  .contact-strip--banner .contact-pill,
  .contact-strip--banner .btn-contact{
    width: auto !important;                 /* ไม่ full-width */
    max-width: 320px !important;            /* ปรับได้: 280-360 */
    min-width: 240px !important;            /* กันเล็กเกิน */
    margin-left: auto !important;
    margin-right: auto !important;

    min-height: 46px !important;            /* เล็กลงจากเดิม */
    padding: 10px 16px !important;          /* เล็กลง */
    font-size: 15px !important;             /* อ่านง่าย */
    border-radius: 14px !important;
  }

  /* ถ้าข้อความยาว ให้ตัดบรรทัด/ไม่ดันกว้าง */
  .contact-strip-buttons .btn-contact,
  .contact-strip--banner .contact-pill,
  .contact-strip--banner .btn-contact{
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap;                    /* ถ้าอยากให้ขึ้นบรรทัด ลบนี้ */
  }
}

/* ================================
   TikTok latest clips
   ================================ */
@media (max-width: 980px){
  .tiktok-section {
    padding: 3rem 0 !important;
    overflow: hidden;
    background:
      radial-gradient(circle at 16% 0%, rgba(0, 215, 174, 0.2), transparent 36%),
      linear-gradient(135deg, #041815 0%, #072720 48%, #07110f 100%) !important;
  }

  .tiktok-section .section-title {
    color: #ffffff !important;
  }

  .tiktok-section .section-subtitle {
    color: rgba(255, 255, 255, 0.74) !important;
    margin-bottom: 1.25rem !important;
  }

  .tiktok-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.55rem;
    padding: 0.38rem 0.78rem;
    border: 1px solid rgba(0, 215, 174, 0.32);
    border-radius: 999px;
    background: rgba(0, 215, 174, 0.12);
    color: #a8fff0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
  }

  .tiktok-embed-wrap {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .tiktok-embed-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .tiktok-embed-frame {
    overflow: hidden;
    border: 1px solid rgba(168, 255, 240, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  }

  .tiktok-embed-iframe {
    display: block;
    width: 100%;
    height: min(720px, 150vw);
    min-height: 560px;
    border: 0;
    background: #000;
  }

  .tiktok-open-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: #cafff4;
    font-weight: 800;
    text-decoration: none;
    border-top: 1px solid rgba(168, 255, 240, 0.14);
    background: rgba(0, 0, 0, 0.24);
  }

  .tiktok-embed-status {
    padding: 1.15rem;
    border: 1px solid rgba(168, 255, 240, 0.22);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
  }

  .tiktok-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
  }

  .tiktok-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.1rem;
    border-radius: 999px;
    color: #031411;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff, #00d7ae);
    box-shadow: 0 12px 26px rgba(0, 215, 174, 0.23);
  }
}
/* =========================
   HOME HERO: first viewport
   ========================= */
.ft-hero {
  box-sizing: border-box;
  min-height: calc(100svh - var(--header-h, 64px)) !important;
  padding: clamp(24px, 5vh, 44px) 0 !important;
  display: flex !important;
  align-items: center !important;
}

.ft-hero__inner {
  flex: 1 1 auto;
  align-items: center !important;
}

/* HOME HERO: redesigned product recommendation card */
.ft-hero__stage {
  position: relative !important;
}

.ft-droneWrap {
  padding-bottom: 190px !important;
}

.ft-stage__bar {
  left: 14px !important;
  right: 14px !important;
  bottom: 18px !important;
  padding: 16px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  border-radius: 20px !important;
  background:
    linear-gradient(135deg, rgba(5, 24, 21, 0.94), rgba(11, 38, 33, 0.9)),
    radial-gradient(320px 110px at 20% 0%, rgba(0, 215, 174, 0.2), transparent 64%) !important;
  border: 1px solid rgba(168, 255, 240, 0.24) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36) !important;
}

.ft-stage__meta {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
}

.ft-stage__headline {
  display: block !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

.ft-meta {
  color: rgba(236, 253, 245, 0.72) !important;
}

.ft-miniCta {
  width: 100% !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #a8fff0, #00d7ae) !important;
  color: #032b24 !important;
  border: 0 !important;
}

/* HOME HERO: compact recommendation pill */
@media (max-width: 980px) {
  .ft-droneWrap {
    padding-bottom: 132px !important;
  }

  .ft-stage__bar {
    left: 14px !important;
    right: 14px !important;
    bottom: 16px !important;
    padding: 12px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.075) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3) !important;
  }

  .ft-stage__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .ft-chip {
    border-radius: 999px !important;
  }

  .ft-miniCta {
    width: 100% !important;
    min-height: 40px !important;
    background: rgba(255, 255, 255, 0.075) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    color: rgba(0, 215, 174, 0.98) !important;
    box-shadow: none !important;
  }
}

/* =========================================================
   แก้การรองรับหน้าจอเล็ก (3 ก.ย. 2026)
   วัดจริงที่ 320 / 360 / 375 / 390 / 414 px แล้วแก้ตามที่เจอ
   ========================================================= */

/* ── ปุ่มเมนูถูกบีบจนกดไม่ได้ ──────────────────────────────
   .header-inner เป็น flex แถวเดียว มีโลโก้ (112px) กับปุ่มโทร (140px)
   ที่หดต่อไม่ได้แล้ว ปุ่มเมนูซึ่ง flex-shrink เป็น 1 จึงโดนบีบจนเหลือ
   2px ที่จอ 320px และ 25px ที่จอ 375px — กดแทบไม่โดน
   ล็อกขนาดไว้ไม่ให้หด แล้วไปเอาที่คืนจากโลโก้แทน */
.menu-toggle {
  flex: 0 0 44px;
}

.header-cta {
  min-width: 0;
}

@media (max-width: 380px) {
  /* จอแคบมาก: เหลือแค่ตราสัญลักษณ์ ตัดข้อความ "FLY TECH / Drone Services Center"
     ออกไป ได้ที่คืนมาราว 60px พอให้ปุ่มเมนูกับปุ่มโทรอยู่ครบ */
  .logo-text {
    display: none;
  }
}

@media (max-width: 360px) {
  /* 3 คอลัมน์แคบเกินจนตัวเลขขึ้นบรรทัดใหม่ ลดเหลือ 2 */
  .finance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ── เป้าสัมผัสเล็กเกินเกณฑ์ 44px ─────────────────────────── */
.footer-contact a {
  display: inline-block;
  padding: 10px 2px;   /* เดิมสูงแค่ 16px กดพลาดง่ายมาก */
}

/* ── ตัวหนังสือเล็กกว่า 12px อ่านยากบนมือถือ ─────────────── */
.product-card__flag,
.tiktok-kicker {
  font-size: 0.75rem;  /* 12px */
}

/* ── ปิดพารัลแลกซ์สไลด์จากซ้ายบนมือถือ ─────────────────────
   style.pc.css ตั้งสถานะเริ่มต้นของ .js-slidein เป็น translateX(-38vw)
   คู่กับ opacity: 0 แล้วให้ JS ค่อย ๆ เลื่อนกลับตามการเลื่อนหน้า
   แต่สูตรของมันจะถึงตำแหน่งจริงก็ต่อเมื่อ element เลื่อนพ้นจอไปแล้ว
   บนจอแคบ กล่องข้อความกว้างเกือบเต็มจอ เยื้องนิดเดียวก็โดนตัดขอบ
   ตั้งที่นี่ไว้ด้วยเพื่อให้ต่อให้ JS ไม่ทำงาน เนื้อหาก็ยังอยู่ครบและมองเห็น
   (ไฟล์นี้โหลดทีหลัง style.pc.css จึงชนะด้วยลำดับ ไม่ต้องใช้ !important) */
.js-slidein {
  transform: none;
  opacity: 1;
  will-change: auto;
}

/* ── ปุ่มโทรใน header ล้นออกนอกแคปซูลบนจอ ~390px ──────────
   .header-cta หดได้ (min-width: 0) แต่ .btn-phone ข้างในกว้างคงที่ 140px
   จึงทะลุออกไปเลยขอบจอ 2px และเลยขอบแคปซูล header ไป 23px
   ย่อ padding กับขนาดตัวอักษรลงแทนการซ่อนชื่อแบรนด์ทิ้ง
   (390px คือ iPhone 14/15 ซึ่งเป็นขนาดที่ลูกค้าใช้เยอะที่สุด) */
@media (max-width: 430px) {
  .header-cta .btn-phone {
    min-width: 0;
    padding: 8px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

/* ── หัวข้อ FAQ กดยาก ─────────────────────────────────────
   .faq summary สูงแค่ 24px ตามขนาดตัวอักษร ต่ำกว่าเกณฑ์เป้าสัมผัส 44px
   ที่ WCAG 2.5.5 และคู่มือ iOS/Android แนะนำ — เพิ่มระยะให้กดโดนง่ายขึ้น */
.faq summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

/* ── แถบแท็บที่เลื่อนแนวนอนได้ ให้หยุดตรงตำแหน่งพอดี ────────
   #bookingTabs กว้างเกินจอบนมือถือโดยตั้งใจ (overflow-x: auto)
   เพิ่ม scroll-snap ให้เลื่อนแล้วหยุดพอดีปุ่ม ไม่ค้างครึ่ง ๆ กลาง ๆ */
#bookingTabs {
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

#bookingTabs > * {
  scroll-snap-align: start;
}

/* ── ปุ่มและลิงก์ที่ยังเตี้ยกว่าเกณฑ์เป้าสัมผัส ──────────────
   วัดที่ 320px: ปุ่ม "สั่งซื้อ" ในหน้าร้านค้าสูง 34px และลิงก์
   breadcrumb สูง 20px ทั้งคู่ต่ำกว่า 44px ที่นิ้วคนกดได้แม่น */
.product-footer .btn-outline,
.product-footer .btn-primary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ชื่อคลาสไม่ตรงกันในแต่ละหน้า: หน้าสินค้าใช้ .breadcrumb ส่วนหน้าร้านค้าใช้ .crumbs */
.breadcrumb a,
.crumb a,
.crumbs a {
  display: inline-block;
  padding: 12px 2px;
}

/* แถบรูปย่อในหน้าสินค้าก็เลื่อนแนวนอนได้ ให้หยุดตรงรูปพอดีเหมือนแถบแท็บ */
.product-detail-thumbs {
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.product-detail-thumbs > * {
  scroll-snap-align: start;
}


/* =========================================================
   MOBILE LAYOUT PASS #1 — หน้าแรก (index.html)
   7 ก.ย. 2026 — วัดจริงที่ 320 / 360 / 375 / 390 / 393 / 430 px

   ตัวเลขที่วัดได้ "ก่อนแก้" ที่ 393px (iPhone 15/16 ซึ่งลูกค้าใช้เยอะสุด)
   1) .site-header สูงจริง 108.7px แต่ --header-h ยังเป็น 64px
      → body เว้นที่ให้แค่ 64px เนื้อหา hero จึงโดนแคปซูลทับ 44.7px
   2) .logo-text โดนบีบเหลือกว้าง 93.2px → "FLY TECH" ตก 2 บรรทัด
      "Drone Services Center" ตกอีก 3 บรรทัด รวมเป็น 4 บรรทัดในแคปซูล
   3) .btn-phone โดนบีบเหลือ 101.8px แต่ <span> ข้างในกว้าง 105.5px
      และเป็น nowrap → เลข "088-909-2960" ทะลุออกนอกปุ่มไปจบที่ x=376.8
      ซึ่งเลยขอบแคปซูล (x=373) ออกไป — ตรงกับที่เห็นในภาพหน้าจอจริง

   สาเหตุร่วมของข้อ 2-3: .header-inner เป็น flex ที่ .logo-area ขอพื้นที่
   ตาม max-content (~238px) ผลรวม flex-basis จึงเกินความกว้างที่มี (351px)
   เบราว์เซอร์เลยหดทั้ง .logo-area และ .header-cta พร้อมกัน
   ========================================================= */

/* ── 1) เรขาคณิตของแคปซูล header บนมือถือ ───────────────── */
:root {
  --header-h: 60px;      /* 44 (ปุ่ม) + 7*2 (padding) + 2 (เส้นขอบ) */
  --header-gap: 10px;    /* ระยะลอยจากขอบบนจอ — เดสก์ท็อปใช้ 14px */
  --header-inset: 12px;  /* เดิม 20px กินความกว้างไป 40px บนจอ 360-393px */
}

.site-header {
  /* mobile block ด้านบนตั้ง top: 0 ไว้ ทำให้แคปซูลชนขอบบนจอ
     คืนระยะลอยให้เท่ากับที่ตั้งใจไว้ในดีไซน์แคปซูล */
  top: calc(env(safe-area-inset-top, 0px) + var(--header-gap));

  /* @supports ด้านบนใส่ padding-top: env(safe-area-inset-top) ไว้
     แต่ตอนนี้เราเผื่อ safe area ที่ top แล้ว ถ้าใส่ซ้ำแคปซูลจะสูงเบี้ยว */
  padding-top: 0;

  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* เว้นที่ให้แคปซูล = ความสูง + ระยะลอยบน-ล่าง (ต้องมี !important
   เพราะ body ในไฟล์นี้ตั้ง padding-top: var(--header-h) !important ไว้) */
body {
  padding-top: calc(
    env(safe-area-inset-top, 0px) + var(--header-h) + var(--header-gap) * 2
  ) !important;
}

/* ── 2) แถวในแคปซูล: โลโก้+ชื่อแบรนด์ (ซ้าย) กับ ปุ่มเมนู (ขวา) ───── */
.header-inner {
  padding: 7px 8px 7px 10px !important;
  gap: 8px !important;
  flex-wrap: nowrap;
}

/* หมายเหตุ — แก้ครั้งที่ 2 (7 ก.ย. 2026): เอาปุ่มเบอร์โทรออกจากแคปซูล
   แคปซูลเหลือแค่ 2 ก้อน: โลโก้+ชื่อแบรนด์ (ซ้าย) กับ ปุ่มเมนู (ขวา)
   งบความกว้างที่คืนมาจากปุ่มเบอร์ มากพอให้ชื่อแบรนด์กลับมาครบสองบรรทัดได้ทุกจอ
   งบที่แคบสุด (320px): ช่องว่างในแคปซูล 276px
     โลโก้ 44 + gap 8 + ข้อความ ~138 + gap 8 + เมนู 44 = 242 → เหลือ 34px */

/* ชื่อแบรนด์ = ตัวเดียวที่ยอมหด (และหดแบบตัด ไม่ใช่ตกบรรทัด) */
.logo-area {
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
  overflow: hidden;
}

.logo-box {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  line-height: 1.15;
}

/* ทั้งสองบรรทัด nowrap เสมอ — ต้นเหตุเดิมที่ทำให้แคปซูลสูง 108px
   คือข้อความตก 4 บรรทัด ไม่ใช่เพราะมีสองบรรทัด */
.logo-text span:first-child {
  font-size: 1.05rem !important;
  line-height: 1.2;
  letter-spacing: 0.05em !important;
  white-space: nowrap;
}

.logo-text span:last-child {
  display: block;
  font-size: 0.72rem !important;   /* 11.5px — เป็นสร้อยแบรนด์ ไม่ใช่เนื้อหาที่ต้องอ่าน */
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0.75;
}

/* ปุ่มเมนู = ห้ามหดเด็ดขาด */
.menu-toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-left: auto;
}

/* ปุ่มเบอร์โทรใน header — เอาออกตามที่เจ้าของเว็บสั่ง
   ช่องทางโทรยังมีอยู่ที่: เมนู > ติดต่อเรา, แถบ "ปรึกษาฟรี" กลางหน้า
   และปุ่มแชตลอยมุมขวาล่าง */
.header-cta,
.header-cta .btn-phone,
.phone-label {
  display: none !important;
}


/* ── 3) เมนูดรอปดาวน์: การ์ดลอยใต้แคปซูลพอดี ───────────
   เดิมเป็น position: fixed + top: var(--header-h) ซึ่งพึ่งพากับการที่
   .site-header มี backdrop-filter (ซึ่งทำให้มันกลายเป็น containing block
   ของลูกที่เป็น fixed) — พฤติกรรมนี้ต่างกันในแต่ละเบราว์เซอร์
   เปลี่ยนเป็น absolute ไปเลย — อิงขอบแคปซูลแน่นอนทุกเบราว์เซอร์ */
.main-nav {
  position: absolute !important;
  top: calc(100% + 8px);
  left: 0 !important;
  right: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 10px !important;
  gap: 6px !important;
  max-height: calc(
    100dvh - env(safe-area-inset-top, 0px) - var(--header-gap)
    - var(--header-h) - 24px
  );
}

/* ── 4) HERO: การ์ดแนะนำรุ่นเคยทับรูปโดรน ─────────────────
   เดิม .ft-stage__bar เป็น position: absolute แล้วเผื่อที่ด้วย
   .ft-droneWrap { padding-bottom: 132px } ซึ่งเป็นตัวเลขตายตัว
   แต่ปุ่ม "รับคำแนะนำรุ่นที่เหมาะกับคุณ" ตก 2 บรรทัดที่ ≤ 393px
   ทำให้การ์ดสูงจริง 158px → ล้นขึ้นไปทับขาตั้งของโดรน 60px
   แก้โดยเอาการ์ดกลับเข้า flow (เหมือนที่ style.pc.css ทำอยู่แล้ว)
   ความสูงจะยืดตามเนื้อหาเองโดยไม่ต้องเดาตัวเลข */
.ft-hero__stage {
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
}

.ft-droneWrap {
  padding: 8px 8px 0 !important;
}

.ft-stage__bar {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  margin: 0 !important;
}

/* hero เต็มจอพอดี = 100svh ลบที่ที่แคปซูลกินไป (ความสูง + ระยะลอยบน-ล่าง) */
.ft-hero {
  min-height: calc(
    100svh - var(--header-h) - var(--header-gap) * 2
  ) !important;
}

/* แถบ badge บนสุดของ hero — ที่ 393px ข้อความชนขอบแคปซูลพอดี
   ให้ตกบรรทัดได้และลดขนาดลงนิดหน่อย จะได้ไม่อึดอัด */
.ft-hero__badge {
  flex-wrap: wrap;
  max-width: 100%;
  font-size: 13px;
  row-gap: 4px;
}

/* ── 5) TikTok embed: ปุ่ม "Watch now" ในคลิปโดนตัด ────────
   เดิม .tiktok-embed-iframe สูง min(720px, 150vw) → ที่ 393px ได้ 590px
   แต่ตัว embed v2 ของ TikTok ต้องการ ≈ กว้าง × 1.78 (ตัววิดีโอ 9:16)
   บวกแถบชื่อช่อง/ปุ่ม/คำบรรยายอีก ~105px → ที่กรอบกว้าง 359px ต้องใช้ ~744px
   ที่ได้จริง 590px จึงเกิดสกรอลล์ในกรอบ และปุ่มแดงโดนตัดครึ่ง
   คิดจากความกว้างกรอบจริง (100vw ลบ padding ของ container 32px และของกรอบ 2px) */
.tiktok-embed-iframe {
  height: clamp(600px, calc((100vw - 34px) * 1.78 + 105px), 820px) !important;
  min-height: 0 !important;
}

/* ── 6) การ์ดสินค้า: ช่องว่างบน-ล่างรูปโดรนเยอะเกิน ────────
   .product-gallery สูงตายตัว 240px แต่รูปเป็น 16:9 (2560×1440)
   ใส่แบบ object-fit: contain ที่ความกว้าง 319px จึงสูงแค่ 179px
   เหลือช่องว่าง 61px แบ่งหัว-ท้ายข้างละ 30px ทำให้การ์ดดูโหวง
   ผูกความสูงกับสัดส่วนรูปแทน เผื่อขอบ 20px ให้รูปหายใจ */
.product-gallery {
  height: clamp(
    165px,
    calc((100vw - 74px) * 0.5625 + 20px),
    240px
  ) !important;
  margin: 16px 0 !important;
}

/* ── 7) แถบสีขาวใต้/รอบแคปซูล (แก้ 7 ก.ย. 2026 รอบที่ 3) ───
   body มีพื้นหลัง #ffffff (มาจาก style.pc.css) และไฟล์นี้สั่ง
   padding-top ให้ body เพื่อกันเนื้อหาโดนแคปซูลทับ
   → แถบ padding สูง 80px ด้านบนจึงโชว์พื้นขาวของ body คั่นอยู่เหนือ hero
   (ทดสอบยืนยันด้วยการเปลี่ยน body background เป็นสีแดง แล้วแถบกลายเป็นแดงทั้งแถบ)

   ฝั่งเดสก์ท็อปแก้เรื่องนี้ไว้แล้วใน style.pc.css:
     body:has(.ft-hero, ...) { padding-top: 0 }
     .ft-hero, .page-hero, ... { border-top: var(--header-space) solid transparent }
   แต่ไฟล์นี้ไปทับด้วย body { padding-top: ... !important } เลยพังเฉพาะมือถือ
   แถมทำให้หน้าที่ใช้ border-top อยู่แล้ว (product / policy / booking)
   ได้ระยะห่างซ้อนกันสองชั้น = 160px

   วิธีแก้: ทำแบบเดียวกับเดสก์ท็อป — หน้าไหนขึ้นต้นด้วย hero ให้ body
   ไม่ต้องเว้นที่ แล้วปล่อยให้พื้นหลังของ hero ไล่ขึ้นไปถึงขอบบนจอเอง */

:root {
  /* ให้ที่ว่างของแคปซูลรวม safe area ด้วย — .page-hero / .policy-hero /
     .booking-hero ใช้ค่านี้เป็น border-top อยู่แล้วจาก style.pc.css */
  --header-space: calc(
    env(safe-area-inset-top, 0px) + var(--header-h) + var(--header-gap) * 2
  );
}

body:has(.ft-hero, .page-hero, .policy-hero, .booking-hero) {
  padding-top: 0 !important;
}

/* .ft-hero ต้องใช้ padding ไม่ใช่ border เพราะตัวมันตั้ง overflow: hidden ไว้
   ซึ่งตัดที่ padding box — ถ้าใช้ border พื้นหลังกับ ::before จะโดนตัดหายทั้งแถบ */
.ft-hero {
  padding-top: calc(var(--header-space) + 8px) !important;
  min-height: 100svh !important;
}


/* =========================================================
   MOBILE LAYOUT PASS #2 — ปรับปรุงหน้าแรกทั้งหมด
   7 ก.ย. 2026 — วัดจริงที่ 320 / 360 / 393 / 430 px
   ========================================================= */

/* ── 8) แถบ badge บนสุดของ hero ────────────────────────────
   เดิมเป็นแคปซูลใบใหญ่ใบเดียวครอบของสองชิ้น: ชิป "FLY TECH กาญจนบุรี"
   กับข้อความ "ศูนย์โดรนการเกษตรครบวงจร"
   วัดที่ 360px: ชิป 150 + ข้อความ 161 + gap 8 = 319 แต่ในแคปซูลเหลือที่ 300
   → ตกบรรทัด แคปซูลสูง 82px กลายเป็นก้อนมนโล่ง ๆ มีที่ว่างค้างด้านขวา

   เอาแคปซูลชั้นนอกออก เหลือ "ชิป + ข้อความ" ลอยบนพื้นหลัง hero
   ได้ที่คืนมา 28px จาก padding → ที่ 360px กลับมาอยู่บรรทัดเดียวพอดี
   ถ้าจอแคบกว่านั้นตกบรรทัดก็ยังดูเป็นหัวเรื่องปกติ ไม่ใช่กล่องเบี้ยว */
.ft-hero__badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ft-hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand-15);
  border: 1px solid var(--brand-30);
  color: var(--brand-primary-light);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ft-hero__badgeText {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

/* ── 9) หัวข้อ hero: กันคำโดดบรรทัดสุดท้าย ─────────────────
   ใน HTML มี <br> คั่นกลางประโยคซึ่งคำนวณจากจอเดสก์ท็อป
   บนมือถือมันไปบังคับให้บรรทัดแรกยาวเกิน แล้วเหลือ "วงจร" ห้อยบรรทัดที่ 3
   ปิด <br> แล้วให้เบราว์เซอร์เกลี่ยความยาวบรรทัดเอง */
.ft-hero__title br {
  display: none;
}

.ft-hero__title,
.ft-hero__lead,
.section-subtitle {
  text-wrap: balance;
}

/* ── 10) วิดีโอ T55 กินพื้นที่เต็มจอทั้งหน้าจอ ──────────────
   .products-video-hero ตั้ง min-height: 100vh → ที่จอ 360x780 สูง 780px เต็ม
   แต่กล่องข้อความข้างในสูงแค่ 218px ที่เหลือเป็นวิดีโอเปล่า ๆ
   ผู้ใช้ต้องปัดผ่านเกือบเต็มจอกว่าจะถึงรายการสินค้า
   ลดเหลือ ~62% ของจอ ยังเห็นวิดีโอเต็มตา แต่ไม่กินที่จนขวางทาง */
.products-video-hero {
  min-height: min(62svh, 520px) !important;
  margin-bottom: 2rem !important;
}

.products-video-hero__content {
  padding-top: 56px !important;
}

/* ── 11) แบนเนอร์แนะนำสินค้า: บล็อกราคา+ปุ่มสูงเกินจำเป็น ──
   .promo-banner__action สูง 120px สำหรับราคาบรรทัดเดียวกับปุ่มหนึ่งปุ่ม */
.promo-banner__action {
  padding-top: 12px !important;
  gap: 10px !important;
}

/* ── 12) ท้ายการ์ดสินค้า: ข้อความกับปุ่มตีกันเป็นสองบรรทัดเบี้ยว ─
   เดิมเป็น flex + space-between + flex-wrap ที่ 360px ข้อความยาวเกิน
   ปุ่มจึงตกลงไปบรรทัดใหม่ชิดขวา ได้เป็นบันไดไม่เป็นระเบียบ (สูง 78px)
   เปลี่ยนเป็นซ้อนกันตรง ๆ: คำโปรย แล้วปุ่มเต็มความกว้างข้างล่าง */
.product-footer {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.product-footer > span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
  text-wrap: balance;
}

.product-card:not(.product-card--spotlight) .product-footer > span {
  color: rgba(15, 40, 34, 0.66);   /* การ์ดพื้นขาวใช้ตัวอักษรสีเข้ม */
}

.product-footer .btn-outline,
.product-footer .btn-primary {
  width: 100%;
}

/* ── 13) รายการจุดเด่นสินค้า: คำไทยตกบรรทัดกลางวลี ────────
   กริด 2 คอลัมน์กว้างคอลัมน์ละ ~144px ทำให้ได้ "ใช้งานง่าย ดูแลรักษา / ง่าย"
   text-wrap: balance ให้เบราว์เซอร์เกลี่ยความยาวสองบรรทัดให้เท่า ๆ กัน */
.product-highlights li,
.promo-banner__points li {
  line-height: 1.4;
  text-wrap: balance;
}

/* ── 14) แถบ "ปรึกษาฟรี" สูง 840px มีที่ว่างเยอะเกินไป ──────
   ย่อรูปคน 200→150, QR 220→180, padding บน-ล่าง 48→36
   และปุ่ม 52→48 รวมประหยัดได้ ~126px โดยยังกดง่ายครบเกณฑ์ 44px */
.contact-strip.contact-strip--hero {
  --cs-pad-y: 36px;
  --cs-qr-size: 180px;
}

.contact-strip-person {
  width: 150px !important;
  height: 150px !important;
}

.contact-strip-head {
  font-size: clamp(30px, 8.5vw, 42px);
}

/* ตัวหนังสือขาวทับรูปหน้าร้าน ตรงที่ภาพสว่างจะอ่านแทบไม่ออก
   ใส่เงาบาง ๆ ให้ตัวอักษรเด้งออกจากพื้นหลังโดยไม่ต้องแก้สีทั้งแถบ */
.contact-strip-head,
.contact-strip-sub {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.contact-strip-buttons .btn-contact {
  min-height: 48px;
}

/* ── 15) การ์ดบริการ: ข้อความยาว 3 บรรทัดในกล่องแคบ ───────
   กริด 2 คอลัมน์ คอลัมน์ละ 157px — ลด padding กับขนาดตัวอักษรลงเล็กน้อย
   แล้วให้เกลี่ยบรรทัด จะได้ไม่มีคำห้อยบรรทัดสุดท้าย */
.services-grid {
  gap: 10px !important;
}

.service-card {
  padding: 14px 10px !important;
}

.service-title {
  font-size: 0.86rem !important;
  text-wrap: balance;
}

.service-card > div:last-child {
  font-size: 0.78rem;
  line-height: 1.45;
  text-wrap: balance;
}
