/* ===== DB HEAVENT FONT FACE (WOFF2 = ~72% smaller than TTF) ===== */
@font-face {
  font-family: 'DB Heavent';
  src: url('Font/fonts/fonts/DB%20Heavent%20Li%20v3.2.woff2') format('woff2'),
    url('Font/fonts/fonts/DB%20Heavent%20Li%20v3.2.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DB Heavent';
  src: url('Font/fonts/fonts/DB%20Heavent%20v3.2.woff2') format('woff2'),
    url('Font/fonts/fonts/DB%20Heavent%20v3.2.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DB Heavent';
  src: url('Font/fonts/fonts/DB%20Heavent%20Med%20v3.2.woff2') format('woff2'),
    url('Font/fonts/fonts/DB%20Heavent%20Med%20v3.2.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DB Heavent';
  src: url('Font/fonts/fonts/DB%20Heavent%20Bd%20v3.2.woff2') format('woff2'),
    url('Font/fonts/fonts/DB%20Heavent%20Bd%20v3.2.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DB Heavent';
  src: url('Font/fonts/fonts/DB%20Heavent%20Blk%20v3.2.woff2') format('woff2'),
    url('Font/fonts/fonts/DB%20Heavent%20Blk%20v3.2.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --green: #C8FF00;
  --navy: #1A2B6D;
  --navy-dark: #0F1A4A;
  --navy-light: #243580;
  --white: #FFFFFF;
  --gray: #F4F6FF;
  --text-muted: #8898C8;
  --font: 'DB Heavent', sans-serif;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(26, 43, 109, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 23px;
  overflow-x: hidden;
}

/* Selection + scrollbar */
::selection {
  background: var(--green);
  color: var(--navy-dark);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy-dark);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.loaded {
  opacity: 1;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

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

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--navy-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: 1rem;
  color: #5566AA;
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.7;
  width: 100%;
  max-width: none;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.75);
}

.accent {
  color: var(--green);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(200, 255, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.22);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:hover {
  background: #d9ff33;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 255, 0, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* LINE button */
.btn-line {
  background: #06C755;
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.35);
}

.btn-line:hover {
  background: #05b04c;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6, 199, 85, 0.5);
}

.btn-cta-line {
  background: #06C755;
  color: #fff;
  border: none;
  font-size: 1.05rem;
  padding: 16px 36px;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.35);
}

.btn-cta-line:hover {
  background: #05b04c;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6, 199, 85, 0.5);
}

.btn-plan {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  margin-top: auto;
  transition: all 0.25s;
}

.btn-plan:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-plan-popular {
  display: block;
  text-align: center;
  background: var(--green);
  color: var(--navy-dark);
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  margin-top: auto;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(200, 255, 0, 0.4);
}

.btn-plan-popular:hover {
  background: #d9ff33;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 255, 0, 0.55);
}

.btn-cta-primary {
  background: var(--navy);
  color: var(--white);
  font-size: 1.05rem;
  padding: 16px 36px;
  box-shadow: 0 4px 20px rgba(26, 43, 109, 0.25);
}

.btn-cta-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 43, 109, 0.4);
}

.btn-cta-outline {
  background: transparent;
  color: var(--navy-dark);
  border: 2.5px solid var(--navy);
  font-size: 1.05rem;
  padding: 16px 36px;
}

.btn-cta-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 24px;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(15, 26, 74, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.logo-bracket {
  color: var(--green);
}

.logo-sub {
  font-size: 0.55rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
  margin-left: 6px;
  align-self: center;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links .nav-cta {
  background: var(--green);
  color: var(--navy-dark);
  font-weight: 700;
  padding: 9px 20px;
}

.nav-links .nav-cta:hover {
  background: #d9ff33;
  color: var(--navy-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--green);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 12px;
  width: 48px;
  height: 44px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy-dark);
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
section.hero {
  background: var(--navy-dark);
  /* สีด้านข้างนอก frame */
}

/* ─── Hero Frame: กรอบหลัก ทุกอย่างอยู่ใน max-width เดียวกัน ─── */
.hero-frame {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* เส้นกรอบบางๆ ซ้ายขวา */
  box-shadow:
    -1px 0 0 rgba(200, 255, 0, 0.12),
    1px 0 0 rgba(200, 255, 0, 0.12);
}

/* รูปภาพทีม — เต็มกรอบ */
.hero-img-wrap {
  position: relative;
  width: 100%;
  background: #232db1;
  overflow: hidden;
  flex-shrink: 0;
}

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

/* Gradient divider ระหว่างรูปกับส่วนข้อความ */
.hero-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(15, 26, 74, 0.5) 55%,
      var(--navy-dark) 100%);
  pointer-events: none;
}


/* ส่วนข้อความ + ปุ่ม CTA — อยู่ใต้รูป */
.hero-inner {
  background: var(--navy-dark);
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(200, 255, 0, 0.18);
  box-shadow: 0 1px 0 rgba(200, 255, 0, 0.08), 0 40px 80px -20px rgba(15, 26, 74, 0.9);
}

/* 2-column grid: text (left) + showreel (right) */
.hero-inner-grid {
  padding: 52px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 100%;
}

/* Showreel video */
.hero-showreel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showreel-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #000;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(200, 255, 0, 0.18);
}

.showreel-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showreel-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--navy-dark);
  font-size: 0.6rem;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font);
  white-space: nowrap;
  pointer-events: none;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-sub strong {
  color: var(--green);
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}


/* ===== PAIN POINTS ===== */
.pain-section {
  padding: 70px 0;
  background: var(--navy-dark);
}

.pain-section .container {
  text-align: left;
}

.pain-intro {
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  gap: 44px;
  align-items: center;
  margin-bottom: 28px;
  text-align: left;
}

/* Pain intro 3rd column: solution checklist */
.pain-intro-cta {
  background: rgba(200, 255, 0, 0.06);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: center;
}

.pain-intro-cta-title {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.pain-intro-cta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.pain-intro-cta-item .cta-check {
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.7rem;
  color: var(--navy-dark);
  font-weight: 900;
}

.pain-intro-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  background: var(--green);
  color: var(--navy-dark);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 12px 22px;
  border-radius: 50px;
  transition: all 0.25s;
  width: fit-content;
}

.pain-intro-cta-btn:hover {
  background: #d8ff1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 255, 0, 0.3);
}

.pain-intro-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pain-intro-text .section-label {
  color: var(--green);
  margin-bottom: 14px;
}

.pain-intro-text .section-title {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.pain-intro-text .section-desc {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
  max-width: 480px;
}

.pain-video-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  aspect-ratio: 9 / 16;
  background: var(--navy);
  position: relative;
  width: 200px;
  flex-shrink: 0;
}

.pain-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

/* ─── Pain Card — Image background style ─── */
.pain-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  /* Force GPU layer so overflow:hidden+border-radius clips correctly */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  border: none;
  cursor: default;
  background-image: var(--pain-bg);
  background-size: cover;
  background-position: top center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.pain-card:hover {
  transform: translateZ(0) translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* Dark gradient overlay — เข้มด้านล่าง โปร่งด้านบน */
.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(8, 13, 38, 0.96) 0%,
      rgba(8, 13, 38, 0.70) 40%,
      rgba(8, 13, 38, 0.20) 70%,
      transparent 100%);
  z-index: 0;
  border-radius: inherit;
}

/* ไอคอนอยู่มุมบนซ้าย */
.pain-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  background: rgba(200, 255, 0, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0 0 24px;
  color: var(--green);
  flex-shrink: 0;
  transition: background 0.3s;
}

.pain-card:hover .pain-icon {
  background: rgba(200, 255, 0, 0.3);
}

/* Text block อยู่ด้านล่าง */
.pain-card-text {
  position: relative;
  z-index: 1;
  padding: 20px 24px 28px;
}

.pain-card h3,
.pain-card .pain-card-text h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--green) !important;
  margin-bottom: 8px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.pain-card p.pain-keyword,
.pain-card .pain-card-text p.pain-keyword {
  font-size: 0.9rem;
  color: rgba(200, 255, 0, 0.85) !important;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===== SOLUTION ===== */
.solution-section {
  padding: 100px 0;
  background: var(--navy);
}

.solution-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution-list li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.solution-list li strong {
  color: var(--green);
}

.check {
  background: var(--green);
  color: var(--navy-dark);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  margin-top: 2px;
}

.process-flow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 255, 0, 0.15);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border-radius: 12px;
  transition: background 0.2s;
}

.process-step:hover {
  background: rgba(200, 255, 0, 0.06);
}

.highlight-step {
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 12px;
}

.step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  min-width: 52px;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-info strong {
  color: var(--white);
  font-size: 1.1rem;
}

.step-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.process-arrow {
  text-align: center;
  color: rgba(200, 255, 0, 0.4);
  font-size: 1.3rem;
  padding: 6px 0;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 100px 0;
  background: var(--navy-dark);
}

.services-section .section-label {
  color: var(--green);
}

.services-section .section-title {
  color: var(--white);
}

.services-section .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  cursor: default;
}

.service-card:hover {
  border-color: var(--green);
  background: rgba(200, 255, 0, 0.06);
  box-shadow: 0 8px 32px rgba(200, 255, 0, 0.12);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(200, 255, 0, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.service-card:hover .service-icon {
  background: var(--green);
  color: var(--navy-dark);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-th {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  opacity: 1;
  letter-spacing: 0.02em;
}

.service-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* ===== CLIENTS ===== */
.clients-section {
  padding: 80px 0;
  background: var(--navy-dark);
  overflow: hidden;
}

/* Marquee wrapper */
.clients-marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  margin-top: 48px;
}

/* Fade edges */
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--navy-dark) 0%, transparent 100%);
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--navy-dark) 0%, transparent 100%);
}

/* Scrolling track */
.clients-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: clients-scroll 38s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes clients-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-16 * (206px + 16px)));
  }
}

/* Logo cards */
.client-logo-card {
  flex: 0 0 206px;
  height: 117px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}

.client-logo-card:hover {
  background: #ffffff;
  border-color: var(--green);
  box-shadow: 0 8px 28px rgba(200, 255, 0, 0.25);
}

.client-logo-card img {
  max-width: 153px;
  max-height: 68px;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: 0.88;
  transition: opacity 0.3s;
}

.client-logo-card:hover img {
  opacity: 1;
}

/* ============================================================
   VIDEO SHOWCASE — Cinema Screen + Filmstrip
   ============================================================ */
.video-showcase {
  margin-top: 36px;
  position: relative;
}

.video-showcase-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 60px 0;
  background:
    radial-gradient(ellipse 55% 55% at center, rgba(200, 255, 0, 0.09) 0%, transparent 65%),
    linear-gradient(180deg, #080d26 0%, #04091a 100%);
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 880px;
  justify-content: center;
}

/* ── Filmstrip rows ── */
.filmstrip-row {
  display: flex;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  opacity: 0.65;
}

/* Sprocket holes top/bottom */
.filmstrip-row::before,
.filmstrip-row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(to right,
      rgba(200, 255, 0, 0) 0px,
      rgba(200, 255, 0, 0) 10px,
      rgba(200, 255, 0, 0.28) 10px,
      rgba(200, 255, 0, 0.28) 26px,
      rgba(200, 255, 0, 0) 26px,
      rgba(200, 255, 0, 0) 36px);
}

.filmstrip-row::before {
  top: 0;
}

.filmstrip-row::after {
  bottom: 0;
}

.filmstrip-track {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  animation: filmstrip-scroll 72s linear infinite;
  will-change: transform;
  padding: 14px 0;
}

.filmstrip-track-reverse {
  animation-direction: reverse;
}

.video-showcase-stage:hover .filmstrip-track {
  animation-play-state: paused;
}

@keyframes filmstrip-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 5px));
  }
}

/* ── Film Card ── */
.film-card {
  flex-shrink: 0;
  width: 120px;
  height: 213px;
  /* 9:16 */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid rgba(200, 255, 0, 0.15);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  background: #0a0f28;
}

.film-card:hover {
  border-color: var(--green);
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 12px 32px rgba(200, 255, 0, 0.25);
  z-index: 2;
}

.film-card.active-card {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.4);
}

.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.film-card:hover img {
  transform: scale(1.05);
}

/* Play overlay on hover */
.film-card::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--green);
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  transition: opacity 0.25s ease;
  text-shadow: 0 0 20px rgba(200, 255, 0, 0.8);
}

.film-card:hover::after {
  opacity: 1;
}

/* ── Monitor Mockup ── */
.video-monitor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 320px;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.75));
}

.video-monitor-bezel {
  background: linear-gradient(160deg, #2e2e2e 0%, #111 60%, #1a1a1a 100%);
  border-radius: 20px;
  padding: 10px 10px 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(200, 255, 0, 0.2),
    0 0 40px rgba(200, 255, 0, 0.06);
}

.video-monitor-screen {
  background: #000;
  border-radius: 12px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
}

.video-monitor-screen .monitor-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info overlay — bottom left */
.monitor-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.monitor-badge {
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--navy-dark);
  background: var(--green);
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
  font-family: var(--font);
}

.monitor-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.02em;
}

/* Sound toggle button */
.monitor-sound-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 4;
  padding: 0;
}

.monitor-sound-btn:hover {
  background: rgba(200, 255, 0, 0.2);
  border-color: var(--green);
  color: var(--green);
  transform: scale(1.1);
}

.monitor-sound-btn.sound-on {
  background: rgba(200, 255, 0, 0.15);
  border-color: var(--green);
  color: var(--green);
}

.monitor-sound-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* Monitor stand */
.monitor-stand-neck {
  width: 56px;
  height: 32px;
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  margin: 0 auto;
  clip-path: polygon(20% 0%, 80% 0%, 90% 100%, 10% 100%);
}

.monitor-stand-base {
  width: 180px;
  height: 12px;
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Caption */
.video-showcase-caption {
  text-align: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
}

/* Mobile — reflow: monitor top, filmstrips below */
@media (max-width: 768px) {

  /* Stage: เปลี่ยน overflow → clip ไม่บล็อก scroll ของ child */
  .video-showcase-stage {
    min-height: auto;
    padding: 28px 0 32px;
    gap: 16px;
    align-items: center;
    overflow: visible;
    /* ไม่บล็อก touch scroll ของ filmstrip */
    border-radius: 20px;
  }

  /* Monitor: ออกจาก absolute → flow ปกติ, อยู่บนสุด */
  .video-monitor {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    order: -1;
    width: 210px;
    margin: 0 auto 8px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.7));
  }

  /* ── Filmstrip: เหลือแค่แถวเดียว ── */
  .filmstrip-row-reverse {
    display: none;
  }

  .filmstrip-row {
    order: 1;
    width: 100%;
    overflow-x: auto;
    /* เลื่อนได้ */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* iOS smooth scroll */
    touch-action: pan-x;
    /* สำคัญ: บอก browser ว่า pan แนวนอน */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 0 16px;
    cursor: grab;
    position: static;
    /* ออกจาก relative ที่ block scroll */
  }

  .filmstrip-row::-webkit-scrollbar {
    display: none;
  }

  .filmstrip-row::before,
  .filmstrip-row::after {
    display: none;
  }

  /* หยุด animation → user เลื่อนเอง */
  .filmstrip-track {
    animation: none !important;
    transform: translateX(0) !important;
    /* reset ตำแหน่ง */
    width: max-content;
    flex-shrink: 0;
    gap: 12px;
    padding: 10px 0;
    will-change: auto;
    /* ปิด GPU layer ที่อาจขัด scroll */
  }

  /* ซ่อน duplicate set */
  .film-card[aria-hidden="true"] {
    display: none;
  }

  /* ── Film cards: กดง่าย + สว่าง ── */
  .film-card {
    scroll-snap-align: start;
    width: 120px;
    height: 213px;
    /* 9:16 ratio */
    border-radius: 14px;
    border-color: rgba(200, 255, 0, 0.45);
    filter: brightness(1.1);
    -webkit-tap-highlight-color: rgba(200, 255, 0, 0.25);
    flex-shrink: 0;
  }

  .film-card img {
    filter: brightness(1.1);
  }

  .film-card::after {
    font-size: 1.6rem;
  }
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
  padding: 100px 0;
  background: var(--navy);
}

/* Content section: slightly different bg so two sections feel distinct */
.portfolio-content-section {
  padding-top: 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 255, 0, 0.04) 0%, transparent 60%),
    var(--navy-dark);
}

.portfolio-section .section-label {
  color: var(--green);
}

.portfolio-section .section-title {
  color: var(--white);
}

.portfolio-section .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.portfolio-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

/* ============================================================
   CONTENT SHOWCASE — Phone mockup + horizontal marquee
   (Visible only when "Content" tab is active)
   ============================================================ */
.content-showcase[hidden] {
  display: none !important;
}

.content-showcase {
  margin-top: 36px;
  position: relative;
}

.content-showcase-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(ellipse 60% 60% at center, rgba(200, 255, 0, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, #0a1438 0%, #060c24 100%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 720px;
  justify-content: center;
}

/* ─── Marquee rows ─── */
.marquee-row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  opacity: 0.55;
}

.marquee-track {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  animation: marquee-scroll 50s linear infinite;
  will-change: transform;
}

.marquee-track.marquee-reverse {
  animation-direction: reverse;
}

.marquee-track img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 8px));
  }
}

.content-showcase-stage:hover .marquee-track {
  animation-play-state: paused;
}

/* ─── Phone Mockup ─── */
.content-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 300px;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}

.content-phone-frame {
  position: relative;
  aspect-ratio: 9 / 19;
  background: linear-gradient(145deg, #1a1a1a 0%, #000 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(200, 255, 0, 0.15);
}

/* Dynamic island */
.content-phone-frame::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 3;
}

.content-phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-feed-header {
  padding: 52px 16px 14px;
  text-align: center;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(200, 255, 0, 0.18);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Vertical scroll feed — 1 image at a time */
.phone-feed-slider {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: #000;
}

.phone-feed-track {
  display: flex;
  flex-direction: column;
  animation: phone-feed-scroll 44s linear infinite;
  will-change: transform;
}

.phone-feed-track img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

@keyframes phone-feed-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.content-showcase-caption {
  text-align: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .content-showcase-stage {
    min-height: 580px;
    padding: 48px 0;
    gap: 18px;
  }

  .marquee-track img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
  }

  .content-phone {
    width: 220px;
  }

  .phone-feed-header {
    padding: 38px 12px 10px;
  }

  .phone-logo {
    height: 22px;
  }

  .content-phone-frame::before {
    width: 70px;
    height: 18px;
    top: 16px;
  }
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(200, 255, 0, 0.3);
}

/* Thumbnail base */
.portfolio-thumb {
  width: 100%;
  overflow: hidden;
  background: var(--navy);
  display: block;
}

/* รูป — landscape 4:3 */
.portfolio-card[data-cat="content"] .portfolio-thumb {
  aspect-ratio: 4 / 3;
}

.portfolio-card[data-cat="content"] .portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-card[data-cat="content"]:hover .portfolio-thumb img {
  transform: scale(1.04);
}

/* วิดีโอ — portrait 9:16 */
.portfolio-card[data-cat="video"] .portfolio-thumb {
  aspect-ratio: 9 / 16;
  /* Subtle gradient placeholder so videos don't look blank before lazy-load */
  background:
    radial-gradient(circle at center, rgba(200, 255, 0, 0.06) 0%, transparent 70%),
    linear-gradient(135deg, #1a2b6d 0%, #0f1a4a 100%);
}

/* Hide bare <video> until JS attaches a source (placeholder gradient shows through) */
.portfolio-card[data-cat="video"] .portfolio-thumb video[data-mp4] {
  opacity: 0;
}

.portfolio-card[data-cat="video"] .portfolio-thumb video {
  transition: opacity 0.3s ease;
}

.portfolio-card[data-cat="video"] .portfolio-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-info {
  padding: 16px 18px;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(200, 255, 0, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.portfolio-info h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

/* ===== PRICING ===== */
.pricing-section {
  padding: 100px 0;
  background: var(--navy-dark);
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 255, 0, 0.3);
}

.pricing-card.popular {
  border: 2px solid var(--green);
  background: rgba(200, 255, 0, 0.04);
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(200, 255, 0, 0.12), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 0 60px rgba(200, 255, 0, 0.22), 0 12px 40px rgba(0, 0, 0, 0.4);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.plan-type {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.plan-duration {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
}

.price-unit {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.price-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Sale price — strikethrough + badge */
.price-sale-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.price-orig {
  font-size: 1rem;
  color: #ff8080;
  text-decoration: line-through;
  text-decoration-color: #ff4d4d;
  text-decoration-thickness: 2px;
  font-weight: 700;
}

.price-badge {
  font-size: 0.78rem;
  font-weight: 900;
  background: #ff3333;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 51, 51, 0.5);
}

.pricing-note ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.pricing-note ul li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-note ul li::before {
  content: '• ';
  color: var(--green);
}

.contents-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contents-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contents-breakdown span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  margin: 16px 0;
}

.plan-features li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}

.plan-features li:not(.feat-row)::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

/* Feature comparison rows */
.feat-row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0 !important;
  padding-left: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feat-row:last-child {
  border-bottom: none;
}

.feat-label {
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
  line-height: 1.35;
  font-size: 0.88rem;
}

.feat-label small {
  display: block;
  font-size: 0.72em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.feat-val {
  font-weight: 700;
  color: var(--white);
  text-align: right;
  min-width: 76px;
  line-height: 1.35;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.feat-val small {
  display: block;
  font-size: 0.72em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.feat-val.feat-check {
  color: var(--green);
  font-size: 1.1rem;
}

.feat-val.feat-cross {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px 24px;
  margin-bottom: 60px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-note strong {
  color: rgba(255, 255, 255, 0.9);
}

.shoot-day {
  background: rgba(200, 255, 0, 0.06);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: left;
}

.shoot-day h3 {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: 0.05em;
}

.shoot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.shoot-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.shoot-num {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--green);
  min-width: 32px;
  line-height: 1.3;
}

.shoot-item span:last-child {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* ===== REVIEWS ===== */
.reviews-section {
  padding: 100px 0;
  background: var(--navy);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 255, 0, 0.25);
}

.review-card.featured {
  border: 2px solid var(--green);
  background: rgba(200, 255, 0, 0.04);
}

/* วิดีโอรีวิว — บนสุดของ card */
.review-video-wrap {
  width: 100%;
  flex-shrink: 0;
  background: #000;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.review-video-wrap video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* stars / text / author ยังคง padding ด้านข้าง */
.review-card .review-stars,
.review-card .review-text,
.review-card .review-author {
  padding-left: 28px;
  padding-right: 28px;
}

.review-card .review-stars {
  padding-top: 24px;
}

.review-stars {
  color: var(--green);
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.15), rgba(26, 43, 109, 0.15));
  border: 1px solid rgba(200, 255, 0, 0.25);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.review-author span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

.reviews-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 255, 0, 0.06);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: var(--radius);
  padding: 36px 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-decimal {
  font-size: 1em;
  letter-spacing: 0;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== WHY ===== */
.why-section {
  padding: 100px 0;
  background: var(--navy);
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-section .section-label {
  color: var(--green);
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 24px;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  border: 2px solid transparent;
}

.why-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200, 255, 0, 0.1);
  background: rgba(200, 255, 0, 0.06);
}

.why-stat {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 8px;
  transition: color 0.3s;
  line-height: 1;
}

.why-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 100px 0;
  background: var(--navy-dark);
}

.faq-section .container {
  max-width: 800px;
}

.faq-section .section-label {
  color: var(--green);
}

.faq-section .section-title {
  color: var(--white);
}

.faq-section .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, background 0.2s;
}

.faq-item.open {
  border-color: var(--green);
  background: rgba(200, 255, 0, 0.04);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: transparent;
  border: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--green);
}

.faq-item.open .faq-q {
  color: var(--green);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s, color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--green);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding: 0 28px 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 24px;
  background: var(--green);
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(26, 43, 109, 0.75);
  margin-bottom: 44px;
  max-width: max;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  padding: 60px 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== LARGE SCREENS 1280px+ ===== */
@media (min-width: 1280px) {
  .hero-inner-grid {
    padding: 60px 60px 90px;
    grid-template-columns: 1fr 360px;
  }
}

/* ===== WIDE SCREENS 1440px+ (จอ 24") ===== */
@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }

  .nav-container {
    max-width: 1440px;
  }

  .hero-inner-grid {
    padding: 64px 64px 100px;
    grid-template-columns: 1fr 380px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  }
}

/* ===== FULL HD 1920px+ (จอ 32") ===== */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }

  .nav-container {
    max-width: 1600px;
  }

  .hero-frame {
    max-width: 1600px;
  }

  .hero-inner-grid {
    padding: 72px 80px 110px;
    grid-template-columns: 1fr 420px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 3vw, 4.2rem);
  }

  .hero-sub {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: clamp(2.4rem, 3vw, 4rem);
  }

  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ซ่อน mobile-only nav items บน desktop */
.mobile-nav-only {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pain-intro {
    grid-template-columns: 200px 1fr;
  }

  .pain-intro-cta {
    display: none;
  }

  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shoot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card .review-stars,
  .review-card .review-text,
  .review-card .review-author {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* clients marquee — no grid breakpoint needed */
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: fixed;
    top: 24px;
    right: 16px;
    z-index: 1100;
  }

  .nav-links {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    border-bottom: 2px solid rgba(200, 255, 0, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-links .nav-cta {
    display: block;
  }

  section.hero {
    padding-top: 90px;
  }

  .hero-frame {
    box-shadow: none;
  }

  /* ไม่มีเส้นกรอบบน mobile */
  /* Hero: 1 column on mobile, ซ่อน showreel */
  .hero-inner-grid {
    grid-template-columns: 1fr;
    padding: 36px 20px 48px;
    gap: 0;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
    gap: 10px;
  }

  .hero-showreel {
    display: none;
  }

  /* แสดง mobile-only nav items + เส้นแบ่ง */
  .mobile-nav-only {
    display: block;
  }

  .mobile-nav-only:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
    padding-top: 4px;
  }

  /* ── เพิ่มขนาดตัวหนังสือทั้งหน้าบน mobile ── */
  html {
    font-size: 22px;
  }

  .hero-label {
    font-size: 0.68rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .btn {
    padding: 13px 22px;
    font-size: 0.92rem;
  }

  .section-label {
    font-size: 0.82rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .section-desc {
    font-size: 1rem;
  }

  .solution-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    transform: none;
    box-shadow: 0 0 30px rgba(200, 255, 0, 0.12);
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  .shoot-grid {
    grid-template-columns: 1fr;
  }

  .pain-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
    text-align: center;
  }

  .pain-intro-text {
    text-align: center;
    align-items: center;
  }

  .pain-intro-text .section-label,
  .pain-intro-text .section-title,
  .pain-intro-text .section-desc {
    text-align: center;
  }

  .pain-video-wrap {
    width: 200px;
    margin: 0 auto;
  }

  .pain-intro-cta {
    height: auto;
  }

  .pain-intro-cta-btn {
    align-self: center;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* ลด tag + title ใน card ให้พอดีกับ 2-col */
  .portfolio-tag {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    padding: 3px 7px;
  }

  .portfolio-info {
    padding: 10px 12px;
  }

  .portfolio-info h3 {
    font-size: 0.8rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* clients marquee — responsive auto */

  /* Mobile section padding */
  .pain-section,
  .solution-section,
  .services-section,
  .pricing-section,
  .why-section,
  .faq-section,
  .reviews-section,
  .portfolio-section,
  .clients-section {
    padding: 64px 0;
  }

  .cta-section {
    padding: 72px 20px;
  }

  /* Mobile pain cards — full width single column */
  .pain-card {
    padding: 0;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  .pain-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .pain-card p.pain-keyword {
    display: block;
    font-size: 0.95rem;
    color: rgba(200, 255, 0, 0.85);
  }

  .pain-card-text {
    padding: 16px 22px 26px;
  }

  .pain-icon {
    width: 46px;
    height: 46px;
    margin: 20px 0 0 20px;
    border-radius: 12px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .why-card {
    padding: 28px 20px;
  }

  .why-stat {
    font-size: 2.4rem;
  }

  .faq-q {
    padding: 18px 20px;
    font-size: 0.92rem;
  }

  .faq-a p {
    padding: 0 20px 18px;
  }

  .reviews-stats {
    flex-direction: column;
    gap: 24px;
    padding: 28px 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  /* clients marquee — responsive auto */
}

/* =====================================================
   FLOATING CONTACT WIDGET — Facebook + Phone (มือถือ+เดสก์ท็อป)
   ===================================================== */
.float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(200, 255, 0, 0.6);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  position: relative;
  animation: floatIdle 3s ease-in-out infinite;
}

.float-btn.fb {
  background: #1877F2;
  color: white;
  animation-delay: 0s;
}

.float-btn.line {
  background: #06C755;
  color: white;
  animation-delay: 0.25s;
}

.float-btn.tel {
  animation-delay: 0.5s;
}

.float-btn:hover {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

@keyframes floatIdle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Tooltip on hover */
.float-btn::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--navy-dark);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(200, 255, 0, 0.3);
  font-family: var(--font);
}

.float-btn:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* =====================================================
   PREMIUM MOTION ENHANCEMENTS
   ===================================================== */

/* Decorative gradient orbs */
.hero-inner,
.pain-section,
.services-section,
.pricing-section {
  position: relative;
}

.hero-inner::before,
.pain-section::before,
.services-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  animation: orbFloat 18s ease-in-out infinite;
}

.hero-inner::before {
  top: -100px;
  right: -200px;
}

.pain-section::before {
  bottom: -100px;
  left: -200px;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.05) 0%, transparent 70%);
  animation-delay: -6s;
}

.services-section::before {
  top: 50%;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.04) 0%, transparent 70%);
  animation-delay: -12s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

/* ทำให้ content อยู่บน orbs */
.hero-inner>*,
.pain-section .container,
.services-section .container,
.pricing-section .container {
  position: relative;
  z-index: 1;
}

/* Button shimmer effect */
.btn-primary::after,
.pricing-btn.primary::after,
.pain-intro-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.btn-primary,
.pricing-btn.primary,
.pain-intro-cta-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary:hover::after,
.pricing-btn.primary:hover::after,
.pain-intro-cta-btn:hover::after {
  left: 130%;
}

/* Smooth video card hover */
.portfolio-card[data-cat="video"] .portfolio-thumb video {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-card[data-cat="video"]:hover .portfolio-thumb video {
  transform: scale(1.04);
}

/* Navbar smooth shrink */
.navbar {
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  padding: 8px 0;
  background: rgba(15, 26, 74, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Hero CTA buttons enter animation */
.hero-btns .btn {
  animation: btnEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.hero-btns .btn:nth-child(1) {
  animation-delay: 0.3s;
}

.hero-btns .btn:nth-child(2) {
  animation-delay: 0.45s;
}

@keyframes btnEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pricing popular card pulse glow */
.pricing-card.popular {
  animation: popularPulse 3s ease-in-out infinite;
}

@keyframes popularPulse {

  0%,
  100% {
    box-shadow: 0 0 40px rgba(200, 255, 0, 0.18);
  }

  50% {
    box-shadow: 0 0 60px rgba(200, 255, 0, 0.35);
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-img {
    transform: none !important;
  }
}

/* Mobile floating contact adjustments */
@media (max-width: 768px) {
  .float-contact {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }

  .float-btn svg {
    width: 22px;
    height: 22px;
  }

  .float-btn::before {
    display: none;
  }
}

/* =====================================================
   LIGHTBOX — Portfolio full-screen viewer
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

/* Dark overlay */
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 30, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

/* Media container */
.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(90vw, 900px);
  max-height: 92vh;
  pointer-events: none;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  max-height: calc(92vh - 50px);
}

.lightbox-media img {
  max-width: min(90vw, 900px);
  max-height: calc(92vh - 50px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  display: block;
}

.lightbox-media video {
  max-width: min(90vw, 560px);
  max-height: calc(92vh - 50px);
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  display: block;
  background: #000;
}

/* Caption */
.lightbox-caption {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  font-family: var(--font);
  text-align: center;
  pointer-events: none;
  letter-spacing: 0.04em;
}

/* Close button */
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  backdrop-filter: blur(6px);
}

.lightbox-close:hover {
  background: rgba(200, 255, 0, 0.18);
  border-color: var(--green);
  color: var(--green);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* Prev / Next buttons */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  backdrop-filter: blur(6px);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-nav:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy-dark);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

/* Click-to-open cursor on portfolio cards */
.portfolio-card {
  cursor: pointer;
}

.portfolio-card .portfolio-thumb {
  position: relative;
}

/* Expand button — injected via JS, visible on hover */
.portfolio-expand-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
  flex-shrink: 0;
}

.portfolio-expand-btn svg {
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.portfolio-card:hover .portfolio-expand-btn {
  opacity: 1;
}

.portfolio-expand-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy-dark);
  transform: scale(1.1);
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-nav svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .lightbox-media img,
  .lightbox-media video {
    max-width: 96vw;
    border-radius: 10px;
  }
}