/* ============================================
   TINSIRI CRANE SERVICE — Premium Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  /* Primary Palette */
  --primary: #0D2137;
  --primary-light: #1A3F6B;
  --primary-medium: #153158;
  --primary-dark: #061220;
  --primary-rgb: 13, 33, 55;

  /* Secondary */
  --secondary: #2563EB;
  --secondary-light: #3B82F6;
  --secondary-dark: #1D4ED8;
  --secondary-rgb: 37, 99, 235;

  /* Accent — Gold */
  --accent: #D4A843;
  --accent-light: #E8C76B;
  --accent-dark: #B8922F;
  --accent-rgb: 212, 168, 67;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --light-bg: #F0F4F8;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;

  /* Semantic */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-light: #94A3B8;
  --text-on-dark: #E2E8F0;
  --text-on-primary: #FFFFFF;
  --success: #22C55E;
  --star: #FBBF24;
  --star-empty: #E2E8F0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0D2137, #1A3F6B);
  --gradient-primary-r: linear-gradient(135deg, #1A3F6B, #0D2137);
  --gradient-accent: linear-gradient(135deg, #D4A843, #E8C76B);
  --gradient-hero: linear-gradient(180deg, rgba(12,28,46,1) 0%, rgba(12,28,46,0.95) 20%, rgba(13,33,55,0.85) 50%, rgba(26,63,107,0.7) 100%);
  --gradient-dark-overlay: linear-gradient(180deg, rgba(6,18,32,0.7) 0%, rgba(13,33,55,0.9) 100%);
  --gradient-card-glass: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  --gradient-blue-accent: linear-gradient(135deg, #2563EB, #1A3F6B);
  --gradient-gold-shine: linear-gradient(135deg, #B8922F, #D4A843, #E8C76B, #D4A843);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --shadow-2xl: 0 25px 60px rgba(0,0,0,0.2);
  --shadow-glow-gold: 0 0 40px rgba(212,168,67,0.25);
  --shadow-glow-blue: 0 0 40px rgba(37,99,235,0.2);
  --shadow-card: 0 8px 32px rgba(13,33,55,0.1);
  --shadow-card-hover: 0 16px 48px rgba(13,33,55,0.18);
  --shadow-nav: 0 4px 30px rgba(0,0,0,0.1);

  /* Typography */
  --font-thai: 'Kanit', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;
  --container-px: 20px;
  --nav-h: 90px;

  /* Border Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --t-bounce: 0.5s cubic-bezier(0.68, -0.35, 0.265, 1.35);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-thai);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--t-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-thai);
  border: none;
  outline: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* --- Section Wrapper --- */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--dark {
  background: var(--gradient-primary);
  color: var(--text-on-dark);
}

.section--light {
  position: relative;
  overflow: hidden;
  background-color: var(--light-bg);
  background-image: 
    radial-gradient(rgba(13, 33, 55, 0.05) 1.5px, transparent 1.5px),
    radial-gradient(circle at 0% 0%, rgba(212, 168, 67, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
  background-size: 24px 24px, 100% 100%, 100% 100%;
}

.section--white {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  background-image: 
    radial-gradient(rgba(13, 33, 55, 0.05) 1.5px, transparent 1.5px),
    radial-gradient(circle at 100% 0%, rgba(212, 168, 67, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
  background-size: 24px 24px, 100% 100%, 100% 100%;
}

/* --- Section Header --- */
.section__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(212,168,67,0.1));
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section--dark .section__badge {
  background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(232,199,107,0.08));
  border-color: rgba(212,168,67,0.25);
  color: var(--accent-light);
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section--dark .section__title {
  color: var(--white);
}

.section__title span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.section--dark .section__subtitle {
  color: var(--text-light);
}

/* Decorative line under titles */
.section__header::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gradient-accent);
  margin: 16px auto 0;
  border-radius: 1px;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: #0c1c2e; /* Dark background to match the banner */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--t-base);
}

.navbar.scrolled {
  background: rgba(12, 28, 46, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-nav);
  height: calc(var(--nav-h) - 15px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.navbar__left {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar__logo-box {
  background: var(--white);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 50px 0 24px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  z-index: 10;
}

.logo-content {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--t-base);
}

.logo-symbol:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 15px rgba(212,168,67,0.45);
}

.logo-svg {
  width: 100%;
  height: 100%;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-primary {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 900;
  color: #000000;
  letter-spacing: 0.5px;
}

.logo-secondary {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.5px;
}

.logo-divider {
  width: 2px;
  height: 36px;
  background: var(--gradient-accent);
}

.logo-company-name {
  font-family: var(--font-thai);
  font-size: 1.1rem;
  font-weight: 700;
  color: #000000;
}

.logo-img {
  width: 140%;
  height: 140%;
  object-fit: cover;
  object-position: center 5%;
  display: block;
}

.footer__logo-img {
  width: 140%;
  height: 140%;
  object-fit: cover;
  object-position: center 5%;
  display: block;
}

.footer .navbar__logo-icon {
  background: var(--white);
  box-shadow: none;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--accent);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 24px;
}

.navbar__phone-btn {
  background: var(--gradient-accent);
  color: var(--primary-dark);
  padding: 10px 24px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-glow-gold);
}

.navbar__phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.4);
}

/* Nav Links */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  position: relative;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--r-sm);
  transition: var(--t-base);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 46%; /* Adjusted to the left to align with the visual center of Thai characters */
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--r-full);
  margin-left: 12px;
  transition: var(--t-base);
  box-shadow: var(--shadow-glow-gold);
}

.navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,168,67,0.4);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t-base);
}

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

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

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

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--sub {
  min-height: 75vh;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 1;
}

/* Animated geometric shapes */
.hero__shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border: 1px solid rgba(212, 168, 67, 0.4) !important;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(212, 168, 67, 0.06) 50%, rgba(13, 33, 55, 0.02) 100%) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 0 15px rgba(255, 255, 255, 0.25) !important;
  animation: float 8s ease-in-out infinite alternate !important;
  z-index: 2;
}

.hero__shape::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(212, 168, 67, 0.25);
  border-radius: 50%;
  animation: rotateClockwise 20s linear infinite;
}

@keyframes rotateClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero__shape--1 {
  width: 260px;
  height: 260px;
  top: -80px;
  right: -40px;
  animation-delay: 0s;
}

.hero__shape--2 {
  width: 180px;
  height: 180px;
  bottom: 8%;
  left: 6%;
  animation-delay: 2.5s !important;
  animation-duration: 10s !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(37, 99, 235, 0.05) 50%, rgba(13, 33, 55, 0.02) 100%) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

.hero__shape--2::before {
  border-color: rgba(37, 99, 235, 0.2);
  animation-duration: 25s;
  animation-direction: reverse;
}

.hero__shape--3 {
  width: 130px;
  height: 130px;
  top: 25%;
  right: 12%;
  animation-delay: 5s !important;
  animation-duration: 12s !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.hero__shape--3::before {
  border-color: rgba(255, 255, 255, 0.12);
  animation-duration: 30s;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: var(--nav-h);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero__badge i {
  font-size: 0.7rem;
  color: var(--accent);
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero__title span {
  display: inline;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(212, 168, 67, 0.35);
}

.hero__desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stat pills in hero */
.hero__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
}

.hero__stat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--r-md);
  font-size: 1.2rem;
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-en);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: var(--t-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  font-family: var(--font-thai);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(212,168,67,0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,168,67,0.45);
}

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

.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
}

.btn--blue {
  background: var(--gradient-blue-accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}

.btn--blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.45);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--gray-200);
}

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

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn--icon {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
}

/* ===========================
   CARDS
   =========================== */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px;
  transition: var(--t-base);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--t-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(212,168,67,0.08));
  border-radius: var(--r-lg);
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--t-base);
}

.card:hover .card__icon {
  background: var(--gradient-accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-gold);
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Glass Card variant (on dark backgrounds) */
.card--glass {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card--glass:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,168,67,0.3);
}

.card--glass .card__title {
  color: var(--white);
}

.card--glass .card__text {
  color: var(--text-light);
}

/* Image Card */
.card--image {
  padding: 0;
  overflow: hidden;
}

.card--image .card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--t-slow);
}

.card--image:hover .card__img {
  transform: scale(1.05);
}

.card--image .card__body {
  padding: 28px;
}

/* ===========================
   SERVICE CARDS (Enhanced)
   =========================== */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: var(--t-base);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

.service-card__img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--t-slow);
}

.service-card:hover .service-card__img {
  transform: scale(1.08);
}

.service-card__img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(13,33,55,0.8), transparent);
}

.service-card__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  background: var(--gradient-accent);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-glow-gold);
}

.service-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.service-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 80px;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-card__feature i {
  color: var(--success);
  font-size: 0.85rem;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

/* ===========================
   STATS / COUNTERS
   =========================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  transition: var(--t-base);
}

.stat-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(212,168,67,0.3);
}

.stat-item__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--r-md);
  font-size: 1.15rem;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-glow-gold);
}

.stat-item__number {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Light variant */
.stats--light .stat-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-card);
}

.stats--light .stat-item:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(37,99,235,0.15);
}

.stats--light .stat-item__number {
  color: var(--primary);
}

.stats--light .stat-item__label {
  color: var(--text-secondary);
}

/* ===========================
   REVIEW CARD
   =========================== */
.review-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-card);
  transition: var(--t-base);
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212,168,67,0.2);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.review-card__info {
  flex: 1;
}

.review-card__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.review-card__role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.review-card__stars i {
  color: var(--star);
  font-size: 0.9rem;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

/* ===========================
   GRID LAYOUTS
   =========================== */
.grid {
  display: grid;
  gap: 24px;
}

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

/* ===========================
   WHY US SECTION
   =========================== */
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-lg);
  transition: var(--t-base);
}

.why-card__content {
  flex: 1;
}

.why-card:hover {
  background: rgba(255,255,255,0.06);
}

.why-card__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,168,67,0.12);
  border-radius: var(--r-md);
  font-size: 1.3rem;
  color: var(--accent-light);
}

.why-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.why-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===========================
   SERVICE AREA
   =========================== */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--t-base);
  box-shadow: var(--shadow-sm);
}

.area-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.area-tag i {
  color: var(--secondary);
  font-size: 0.8rem;
}

.area-tag:hover i {
  color: var(--accent-light);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
}

.cta-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.15;
  filter: brightness(0.65) contrast(1.1);
}

.cta-section__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,168,67,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.cta-section__bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cta-section__text {
  font-size: 1.05rem;
  color: var(--text-light);
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-section .hero__actions {
  justify-content: center;
  margin-bottom: 0;
  margin-top: 24px;
}

.cta-section__phones {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--t-base);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.cta-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.25);
  text-decoration: none;
}

.cta-phone i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent) !important;
  color: var(--primary-dark) !important;
  border-radius: 50%;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.3);
}

.cta-phone div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-phone small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.cta-phone strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-en);
  line-height: 1.2;
  margin-top: 2px;
}

/* ===========================
   CONTACT FORM
   =========================== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group label span {
  color: #EF4444;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font-thai);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--text-primary);
  transition: var(--t-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394A3B8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===========================
   CONTACT INFO CARDS
   =========================== */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--t-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(212,168,67,0.08));
  border-radius: var(--r-md);
  font-size: 1.2rem;
  color: var(--secondary);
}

.contact-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card__text a {
  color: var(--secondary);
  font-weight: 600;
}

.contact-card__text a:hover {
  color: var(--secondary-dark);
}

/* ===========================
   MAP
   =========================== */
.map-container {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  display: block;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: linear-gradient(180deg, #0d2137 0%, #06101c 100%);
  color: var(--text-light);
  padding: 80px 0 0;
  border-top: 1px solid rgba(212, 168, 67, 0.15);
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer__brand-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.85;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  transition: var(--t-base);
  font-size: 1.1rem;
}

.footer__social a:hover {
  background: var(--gradient-accent);
  color: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.35);
  border-color: transparent;
}

.footer__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--r-full);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--t-base);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}

.footer__link:hover {
  color: var(--accent);
  transform: translateX(6px);
  opacity: 1;
}

.footer__link i {
  font-size: 0.7rem;
  color: var(--accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
  opacity: 0.85;
}

.footer__contact-item i {
  color: var(--accent);
  margin-top: 3px;
  font-size: 1.05rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ===========================
   SPEC TABLE
   =========================== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.spec-table thead {
  background: var(--gradient-primary);
}

.spec-table thead th {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
}

.spec-table tbody tr {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--t-base);
}

.spec-table tbody tr:hover {
  background: rgba(37,99,235,0.03);
}

.spec-table tbody td {
  padding: 14px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.spec-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

/* Responsive Table layout for Mobile Devices */
@media (max-width: 768px) {
  .spec-table {
    display: block;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }
  
  .spec-table thead {
    display: none; /* Hide traditional headers */
  }
  
  .spec-table tbody {
    display: block;
  }
  
  .spec-table tbody tr {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-md);
    margin-bottom: 20px;
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--t-base);
  }
  
  .spec-table tbody tr:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
  }
  
  .spec-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--gray-100);
    text-align: right;
    color: var(--text-primary);
  }
  
  .spec-table tbody td:last-child {
    border-bottom: none;
  }
  
  .spec-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-secondary);
    text-align: left;
    margin-right: 15px;
    flex-shrink: 0;
  }
  
  .spec-table tbody td:first-child {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-light);
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 14px;
    margin-bottom: 6px;
  }
}

/* ===========================
   ANIMATIONS
   =========================== */

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

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

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

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Animation Classes */
.animate {
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate--fade-up {
  transform: translateY(40px);
}

.animate--fade-down {
  transform: translateY(-30px);
}

.animate--fade-left {
  transform: translateX(-40px);
}

.animate--fade-right {
  transform: translateX(40px);
}

.animate--scale {
  transform: scale(0.9);
}

.animate.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

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

/* Page load animation */
.page-loaded .hero__content > * {
  animation: fadeInUp 0.8s ease forwards;
}

.page-loaded .hero__badge { animation-delay: 0.1s; opacity: 0; }
.page-loaded .hero__title { animation-delay: 0.25s; opacity: 0; }
.page-loaded .hero__desc { animation-delay: 0.4s; opacity: 0; }
.page-loaded .hero__actions { animation-delay: 0.55s; opacity: 0; }
.page-loaded .hero__stats { animation-delay: 0.7s; opacity: 0; }

/* ===========================
   BREADCRUMB (Sub pages)
   =========================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--accent-light);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: rgba(255,255,255,0.5);
}

.breadcrumb .current {
  color: rgba(255,255,255,0.7);
}

/* Glassmorphic Breadcrumb Badge System */
.breadcrumb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 24px;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  animation: slideInScale 0.6s ease forwards;
}

.breadcrumb-badge__icon {
  font-size: 0.9rem;
  color: var(--accent);
}

.breadcrumb-badge__link {
  color: var(--accent-light);
  font-weight: 500;
  transition: var(--t-base);
}

.breadcrumb-badge__link:hover {
  color: var(--white);
  text-decoration: none;
}

.breadcrumb-badge__sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
}

.breadcrumb-badge__current {
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

/* ===========================
   GALLERY GRID
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--t-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,33,55,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--t-base);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay i {
  color: var(--white);
  font-size: 1.6rem;
}

/* ===========================
   PROCESS / TIMELINE
   =========================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--gray-200);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-glow-gold);
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================
   SERVICE DETAIL PAGE
   =========================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.service-detail__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-detail__img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 1px solid rgba(212,168,67,0.2);
}

.service-detail__content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-detail__content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.service-detail__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.service-detail__list li i {
  color: var(--success);
  width: 20px;
  text-align: center;
}

/* ===========================
   MOBILE SIDEBAR MENU
   =========================== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,18,32,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #0a1628 0%, #0d1f3c 40%, #0a1628 100%);
  z-index: 1000;
  padding: 90px 24px 30px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  border-left: 1px solid rgba(212, 168, 67, 0.15);
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.mobile-menu.active {
  right: 0;
}

/* Mobile Menu Links */
.mobile-menu .navbar__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.mobile-menu .navbar__link::before {
  content: '';
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.3s ease;
  flex-shrink: 0;
}

.mobile-menu .navbar__link:hover {
  color: #fff;
  background: rgba(212, 168, 67, 0.08);
}

.mobile-menu .navbar__link:hover::before {
  height: 20px;
}

.mobile-menu .navbar__link.active {
  color: #fff;
  background: rgba(212, 168, 67, 0.12);
  font-weight: 600;
}

.mobile-menu .navbar__link.active::before {
  height: 24px;
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.4);
}

/* Mobile Menu Divider */
.mobile-menu__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.2), transparent);
  margin: 12px 8px;
}

/* Mobile Menu CTA Buttons */
.mobile-menu__cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-menu__cta--phone {
  background: var(--gradient-accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}

.mobile-menu__cta--phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.4);
}

.mobile-menu__cta--phone i {
  font-size: 0.95rem;
}

.mobile-menu__cta--line {
  background: rgba(6, 199, 85, 0.15);
  color: #06C755;
  border: 1px solid rgba(6, 199, 85, 0.25);
}

.mobile-menu__cta--line:hover {
  background: rgba(6, 199, 85, 0.25);
  transform: translateY(-2px);
}

.mobile-menu__cta--line i {
  font-size: 1.2rem;
}

/* Mobile Menu Footer Info */
.mobile-menu__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.mobile-menu__footer-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.mobile-menu__footer-text strong {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.mobile-menu .navbar__cta {
  margin-left: 0;
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail--reverse { direction: ltr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-py: 70px;
    --nav-h: 70px;
  }

  .hero--sub {
    min-height: 60vh;
  }

  .navbar__menu { display: none; }
  .navbar__cta--desktop { display: none; }
  .navbar__hamburger { display: flex; }

  .hero__title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero__stats {
    flex-direction: column;
    gap: 12px;
  }

  .hero__stat {
    width: 100%;
  }

  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }

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

  .section__title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .footer {
    padding: 50px 0 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    text-align: left;
  }

  .footer__grid > div:nth-child(1) {
    grid-column: span 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
  }

  .footer__brand-desc {
    text-align: left;
    margin-bottom: 15px;
    max-width: 100%;
  }

  .footer__social {
    justify-content: flex-start;
  }

  .footer .logo-content {
    justify-content: flex-start;
  }

  .footer__grid > div:nth-child(2),
  .footer__grid > div:nth-child(3) {
    grid-column: span 1;
  }

  .footer__grid > div:nth-child(4) {
    grid-column: span 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 10px;
  }

  .footer__heading {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  .footer__heading::after {
    left: 0;
    transform: none;
    width: 30px;
    height: 2px;
  }

  .footer__links {
    align-items: flex-start;
    gap: 8px;
  }

  .footer__link {
    justify-content: flex-start;
  }

  .footer__contact-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    margin-bottom: 12px;
  }

  .footer__contact-item i {
    margin-top: 4px;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    padding: 15px 0;
  }

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

  .gallery-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

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

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

  /* Compact Navbar Logo for Small Mobile Phones */
  .logo-primary {
    font-size: 0.98rem;
  }
  .logo-secondary {
    font-size: 0.52rem;
  }
  .logo-company-name {
    font-size: 0.72rem;
    max-width: 120px;
    line-height: 1.15;
  }
  .logo-divider {
    height: 22px;
    margin: 0 6px;
  }
  .logo-content {
    gap: 6px;
  }
  .logo-symbol {
    width: 28px;
    height: 28px;
  }
  .navbar__logo-box {
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
    padding: 0 24px 0 8px;
  }
}

/* ===========================
   UTILITIES
   =========================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* Hide / Show */
.d-none { display: none; }
.d-block { display: block; }

/* LINE button */
.btn--line {
  background: #06C755;
  color: var(--white);
}

.btn--line:hover {
  background: #05B04C;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(6,199,85,0.3);
}

/* WhatsApp / Phone floating button */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--t-base);
  animation: pulse 2s ease-in-out infinite;
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
  animation: none;
}

.floating-btn--phone {
  background: var(--gradient-accent);
}

.floating-btn--line {
  background: #06C755;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 34px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--t-base);
  z-index: 800;
  border: none;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ============================================
   PREMIUM HERO SECTION (BANNER STYLE)
   ============================================ */
.hero-premium {
  position: relative;
  min-height: 100vh;
  background: #061220; /* Dark background from banner */
  padding-top: 90px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-premium__container {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 90px);
}

.hero-premium__info {
  flex: 1.1;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0c1c2e;
  position: relative;
  z-index: 10;
}

/* Slanted diagonal split */
.hero-premium__info::after {
  content: '';
  position: absolute;
  top: 0;
  right: -60px;
  width: 120px;
  height: 100%;
  background: #0c1c2e;
  transform: skewX(-8deg);
  z-index: -1;
  border-right: 3px solid var(--accent); /* Sleek yellow divider line */
  animation: goldGlowPulse 2.5s ease-in-out infinite alternate;
}

.hero-premium__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(212,168,67,0.15);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  margin-bottom: 24px;
  width: fit-content;
}

.hero-premium__title {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-premium__title span {
  color: var(--accent);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.hero-premium__subtitle {
  font-family: var(--font-thai);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 36px;
}

.hero-premium__checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 44px;
  max-width: 540px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
}

.checklist-item i {
  color: var(--accent);
  font-size: 1.25rem;
}

.hero-premium__footer {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* QR Code styling */
.qr-code-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr-code-placeholder {
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 6px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.qr-code-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-line-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  background: #06C755;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid var(--white);
}

.qr-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.4;
  font-weight: 500;
}

/* Phone Pill Box styling */
.phone-pill-box {
  background: var(--accent);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  padding: 8px 32px;
  box-shadow: var(--shadow-glow-gold);
}

.phone-pill-header {
  font-size: 1.05rem;
  font-weight: 800;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 2px solid rgba(0,0,0,0.15);
  padding-right: 20px;
  margin-right: 20px;
}

.phone-pill-numbers {
  display: flex;
  gap: 24px;
}

.phone-number-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.phone-number-link:hover {
  transform: scale(1.05);
}

.phone-number-link .num {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000;
}

.phone-number-link .label {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.65);
  font-weight: 700;
}

/* Right Side Image */
.hero-premium__image {
  flex: 0.9;
  position: relative;
  overflow: hidden;
}

.hero-premium__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenBurns 20s ease-in-out infinite;
}

.hero-premium__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(6,18,32,0.4), rgba(6,18,32,0));
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .logo-primary {
    font-size: 1.25rem;
  }
  .logo-secondary {
    font-size: 0.65rem;
  }
  .logo-company-name {
    font-size: 0.95rem;
  }
  .logo-divider {
    height: 30px;
  }
  .navbar__logo-box {
    padding-right: 40px;
  }
}

@media (max-width: 991px) {
  .hero-premium__container {
    flex-direction: column;
  }
  .hero-premium__info {
    padding: 50px var(--container-px);
  }
  .hero-premium__info::after {
    display: none;
  }
  .hero-premium__image {
    height: 45vh;
  }
  .logo-primary {
    font-size: 1.15rem;
  }
  .logo-secondary {
    font-size: 0.6rem;
  }
  .logo-company-name {
    font-size: 0.82rem;
  }
  .logo-divider {
    height: 26px;
  }
  .navbar__logo-box {
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    padding: 0 35px 0 12px;
  }
  .logo-symbol {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 75px;
  }
  .navbar__phone-btn {
    display: none;
  }
  .hero-premium {
    padding-top: 75px;
  }
  .hero-premium__container {
    min-height: calc(100vh - 75px);
  }
  .hero-premium__checklist {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }
  .hero-premium__footer {
    gap: 24px;
  }
  .phone-pill-box {
    width: 100%;
    flex-direction: column;
    border-radius: var(--r-xl);
    padding: 16px;
    align-items: flex-start;
  }
  .phone-pill-header {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    border-bottom: 2px solid rgba(0,0,0,0.1) ;
    padding-bottom: 8px;
    margin-bottom: 12px;
    width: 100%;
  }
  .phone-pill-numbers {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .phone-number-link {
    width: 100%;
  }
}

/* Helper Utilities & Fixes */
.nobrk {
  white-space: nowrap;
}

@keyframes slowZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}

.hero__bg img,
img.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoom 10s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

/* ============================================
   FAQ ACCORDION SECTION
   ============================================ */
.faq-section {
  position: relative;
  background-color: var(--off-white);
  background-image: 
    radial-gradient(rgba(13, 33, 55, 0.02) 1.5px, transparent 1.5px),
    radial-gradient(circle at 100% 100%, rgba(212, 168, 67, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
  background-size: 24px 24px, 100% 100%, 100% 100%;
  padding: 100px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--t-base);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.faq-item__question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  user-select: none;
  background: var(--white);
  transition: var(--t-base);
}

.faq-item__question h3 {
  font-family: var(--font-thai);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.5;
  transition: var(--t-base);
}

.faq-item.active .faq-item__question h3 {
  color: var(--secondary-dark);
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--t-base);
  flex-shrink: 0;
}

.faq-item.active .faq-item__icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__answer-content {
  padding: 0 28px 24px 28px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-item__answer-content {
  border-top-color: var(--gray-100);
}

/* Premium Glow and Pan Animations */
@keyframes goldGlowPulse {
  0% {
    filter: drop-shadow(4px 0 6px rgba(212, 168, 67, 0.35));
  }
  100% {
    filter: drop-shadow(4px 0 16px rgba(212, 168, 67, 0.75));
  }
}

@keyframes kenBurns {
  0% {
    transform: scale(1.0) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-2%, -1%);
  }
  100% {
    transform: scale(1.0) translate(0, 0);
  }
}

/* ============================================
   SERVICE CARDS SLIDESHOW
   ============================================ */
.service-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

/* For homepage service cards height */
.service-card__img-wrap .service-slideshow {
  height: 240px;
}

/* For service page detail images height */
.service-detail__img .service-slideshow {
  height: 400px;
}

.service-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 8s ease-in-out;
  z-index: 1;
}

.service-slideshow img.active {
  opacity: 1;
  z-index: 2;
}

.service-card:hover .service-slideshow img.active,
.service-detail__img:hover .service-slideshow img.active {
  transform: scale(1.08);
}

/* Featured Gallery Item */
@media (min-width: 769px) {
  .gallery-item--featured {
    grid-column: span 3;
    aspect-ratio: 21/9;
  }
}

/* Corporate Banner Features Grid centering */
.banner-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.banner-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  padding: 15px;
  border-radius: var(--r-sm);
  border-left: 4px solid var(--accent);
  flex: 1 1 260px;
  box-shadow: var(--shadow-sm);
  transition: var(--t-base);
}

.banner-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (min-width: 769px) {
  .banner-feature-card {
    max-width: calc(33.333% - 14px);
  }
}

/* Floating Phone Menu Dropdown Styles */
.floating-phone-container {
  position: relative;
  display: inline-block;
}

.floating-phone-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: rgba(12, 28, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 190px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}

.floating-phone-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-phone-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--white) !important;
  text-decoration: none !important;
  border-radius: var(--r-md);
  transition: var(--t-base);
}

.floating-phone-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent) !important;
}

.floating-phone-item i {
  font-size: 1.1rem;
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.floating-phone-item div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.floating-phone-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.2;
}

.floating-phone-item strong {
  font-size: 0.95rem;
  font-family: var(--font-en);
  font-weight: 700;
  margin-top: 2px;
  line-height: 1.2;
}

/* ==========================================================================
   PREMIUM BACKGROUND PATTERNS, GLOW ORBS & CARD SHINE EFFECTS (ELITE AESTHETICS)
   ========================================================================== */

/* 1. Subtle Architectural Dot Grid Pattern for Page Sections */
.section, .hero-premium, .hero--sub {
  position: relative;
}

.section::before, .hero-premium::before, .hero--sub::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 168, 67, 0.038) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
}

/* Light sections have darker, softer blue-gray dots */
.section--light::before {
  background-image: radial-gradient(rgba(13, 33, 55, 0.03) 1.2px, transparent 1.2px);
}

/* 2. Floating Ambient Glow Orbs for visual depth */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  animation: orbPulsate 12s ease-in-out infinite alternate;
}

.glow-orb--gold {
  background: radial-gradient(circle, rgba(212, 168, 67, 0.22) 0%, transparent 70%);
}

.glow-orb--blue {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
}

@keyframes orbPulsate {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(30px, -20px) scale(1.1) rotate(45deg);
  }
  100% {
    transform: translate(-10px, 15px) scale(0.95) rotate(90deg);
  }
}

/* Ensure container content sits above background patterns and orbs */
.section .container, 
.hero-premium__container, 
.hero--sub .container {
  position: relative;
  z-index: 2;
}

/* 3. Permanent Premium Glassmorphism & Gold Glow for Cards (Always Visible) */
.card, 
.service-card, 
.review-card, 
.faq-item, 
.contact-card {
  position: relative;
  overflow: hidden; /* Clips shine and elements */
  border: 2px solid rgba(212, 168, 67, 0.45) !important; /* Pronounced gold border by default */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 60%, rgba(248, 245, 238, 0.93) 100%) !important;
  box-shadow: 0 10px 30px rgba(13, 33, 55, 0.08), 0 0 25px rgba(212, 168, 67, 0.25) !important; /* Bold golden ambient glow by default */
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.4s ease !important;
}

/* Adjust for dark themed cards (like FAQ items inside dark sections, or contact detail items) */
.section--dark .card,
.faq-section .faq-item,
.cta-section .cta-phone {
  background: linear-gradient(135deg, rgba(12, 28, 46, 0.8) 0%, rgba(6, 18, 32, 0.9) 100%) !important;
  border-color: rgba(212, 168, 67, 0.5) !important; /* High contrast gold border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 168, 67, 0.35) !important; /* Highly visible gold glow */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Interactive breathing pulsation for the gold glow */
@keyframes glowBreathe {
  0% {
    box-shadow: 0 10px 30px rgba(13, 33, 55, 0.08), 0 0 20px rgba(212, 168, 67, 0.2) !important;
  }
  100% {
    box-shadow: 0 12px 40px rgba(13, 33, 55, 0.15), 0 0 40px rgba(212, 168, 67, 0.55) !important; /* Highly pronounced pulsating gold glow */
  }
}

.service-card, .contact-card {
  animation: glowBreathe 4s ease-in-out infinite alternate;
}

/* 4. Hover Card Light Sweep (Shine Effect) */
.card::after, 
.service-card::after, 
.review-card::after, 
.faq-item::after, 
.contact-card::after,
.spec-table tbody tr::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(28deg);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}

/* Trigger sweep transition on hover */
.card:hover::after, 
.service-card:hover::after, 
.review-card:hover::after, 
.faq-item:hover::after, 
.contact-card:hover::after,
.spec-table tbody tr:hover::after {
  left: 160%;
  opacity: 1;
  transition: left 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), 
              opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 5. Hover Lift overrides */
.service-card:hover, 
.contact-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  border-color: var(--accent) !important;
  box-shadow: var(--shadow-card-hover), 0 0 45px rgba(212, 168, 67, 0.7) !important; /* Extreme gold glow on hover */
  animation: none; /* Stop breathing pulse on hover to allow strong hover glow */
}

.review-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-card-hover) !important;
  border-color: var(--accent) !important;
}

.faq-item:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 20px rgba(13, 33, 55, 0.05), 0 0 10px rgba(212, 168, 67, 0.15) !important;
}

/* FAQ Dark Mode Theme Legibility Fixes */
.faq-section .faq-item__question {
  background: transparent !important;
}

.faq-section .faq-item__question h3 {
  color: var(--white) !important;
}

.faq-section .faq-item.active .faq-item__question h3 {
  color: var(--accent) !important;
}

.faq-section .faq-item__answer-content {
  color: rgba(255, 255, 255, 0.85) !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.faq-section .faq-item__icon {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--accent) !important;
}

.faq-section .faq-item.active .faq-item__icon {
  background: var(--accent) !important;
  color: #061220 !important;
}

/* CTA Phone Legibility Fixes for all page structures */
.cta-phone {
  color: var(--white) !important;
  text-decoration: none !important;
}

.cta-phone small,
.cta-phone__label {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
  display: block !important;
}

.cta-phone strong,
.cta-phone__number {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  font-family: var(--font-en) !important;
  line-height: 1.2 !important;
  margin-top: 2px !important;
  display: block !important;
}

/* Floating Decorative Glassmorphic Spheres in Light & White Sections (Empty Space Effects) */
.section .container {
  position: relative;
  z-index: 2;
}

.section--white::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(212, 168, 67, 0.35) !important;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(212, 168, 67, 0.05) 50%, rgba(13, 33, 55, 0.02) 100%) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), inset 0 0 15px rgba(255, 255, 255, 0.25) !important;
  pointer-events: none;
  z-index: 1;
  animation: floatBgOrb1 20s ease-in-out infinite alternate;
}

.section--light::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(37, 99, 235, 0.04) 50%, rgba(13, 33, 55, 0.02) 100%) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), inset 0 0 15px rgba(255, 255, 255, 0.2) !important;
  pointer-events: none;
  z-index: 1;
  animation: floatBgOrb2 25s ease-in-out infinite alternate;
}

@keyframes floatBgOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatBgOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Custom Premium Gold Gradient Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #061220;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: var(--r-full);
  border: 2.5px solid #061220;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* CAD Technical Crosshairs (+) and Drafting Coordinates in Page Margins */
.section--white .container,
.section--light .container {
  position: relative;
}

.section--white .container::before,
.section--light .container::before {
  content: '+';
  position: absolute;
  top: -24px;
  left: 15px;
  font-family: monospace;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.section--white .container::after,
.section--light .container::after {
  content: 'TINSIRI // [ 13°55\'N 100°43\'E ]';
  position: absolute;
  top: -20px;
  right: 15px;
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

/* Add faint construction safety hazard stripe border at the top of light sections */
.section--light {
  border-top: 1px dashed rgba(212, 168, 67, 0.15);
}

/* Review Card Attached Photos Grid */
.review-card__photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

.review-card__photo {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.review-card__photo:hover {
  transform: scale(1.15);
  z-index: 5;
  border-color: var(--accent);
}

.review-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Item Caption Badge */
.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(6, 18, 32, 0.92) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--t-base);
}

.gallery-item__caption i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Guaranteed Visibility Safeguard for Cards & Gallery */
.review-card,
.review-card--featured,
.gallery-item,
.service-card {
  opacity: 1 !important;
  transform: none !important;
}

/* Featured Verified Project Review Cards (High Contrast & Luxury Layout) */
.review-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0b1a2c 0%, #061220 100%) !important;
  border: 2px solid var(--accent) !important;
  border-radius: var(--r-xl) !important;
  padding: 32px !important;
  box-shadow: 0 12px 35px rgba(6, 18, 32, 0.25), 0 0 25px rgba(212, 168, 67, 0.15) !important;
  color: var(--white) !important;
  position: relative !important;
  overflow: hidden !important;
}

.review-card--featured::before {
  color: rgba(212, 168, 67, 0.25) !important;
}

.review-card--featured .review-card__header {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 14px !important;
}

.review-card--featured .review-card__avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  border: 2.5px solid var(--accent) !important;
  box-shadow: 0 0 15px rgba(212, 168, 67, 0.4) !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.review-card--featured .review-card__name {
  color: var(--white) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.review-card--featured .review-card__role {
  color: var(--accent-light) !important;
  font-size: 0.92rem !important;
  margin-top: 4px !important;
  font-weight: 500 !important;
}

.review-card--featured .review-card__badge {
  background: var(--accent) !important;
  color: #061220 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  letter-spacing: 0.3px !important;
}

.review-card--featured .review-card__stars {
  display: flex !important;
  gap: 4px !important;
  margin-bottom: 12px !important;
}

.review-card--featured .review-card__stars i {
  color: var(--accent) !important;
  font-size: 1.1rem !important;
}

.review-card--featured .review-card__text {
  color: #f1f5f9 !important; /* Extremely high contrast readable text */
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  font-style: normal !important;
  margin: 16px 0 !important;
  font-weight: 400 !important;
}

.review-card--featured .review-card__photos-title {
  color: var(--accent) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  margin-top: 20px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Bento Grid Layout for Gallery Items */
@media (min-width: 769px) {
  .gallery-grid {
    grid-auto-flow: dense;
  }

  .gallery-item--bento-hero {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
    aspect-ratio: 16/11 !important;
  }

  .gallery-item--bento-wide {
    grid-column: span 2 !important;
    aspect-ratio: 21/9 !important;
  }

  .gallery-item--bento-tall {
    grid-column: span 1 !important;
    grid-row: span 2 !important;
    aspect-ratio: 3/4 !important;
  }
}

/* ============================================
   IMAGE LIGHTBOX MODAL (Full Screen Photo Viewer)
   ============================================ */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 32, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 94vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 82vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 168, 67, 0.3);
  border: 2.5px solid var(--accent);
  background: #061220;
}

.lightbox-caption {
  color: var(--white);
  margin-top: 14px;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
  background: rgba(13, 33, 55, 0.9);
  padding: 10px 24px;
  border-radius: 20px;
  border: 1px solid rgba(212, 168, 67, 0.4);
  max-width: 90vw;
  line-height: 1.5;
}

/* Close Button (X Cross Icon) */
.lightbox-close {
  position: absolute;
  top: -50px;
  right: -15px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #061220;
  border: none;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 168, 67, 0.6);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  z-index: 10;
}

.lightbox-close:hover {
  transform: scale(1.15) rotate(90deg);
  background: #ffffff;
  color: #061220;
}

/* Navigation Arrows (Prev / Next) */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 33, 55, 0.9);
  color: var(--white);
  border: 1.5px solid var(--accent);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lightbox-nav:hover {
  background: var(--accent);
  color: #061220;
  transform: translateY(-50%) scale(1.12);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

@media (max-width: 768px) {
  .lightbox-close {
    top: -45px;
    right: 0px;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .lightbox-nav {
    top: 92%;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .lightbox-prev { left: 20px; transform: none; }
  .lightbox-next { right: 20px; transform: none; }
  .lightbox-nav:hover { transform: scale(1.1); }
}
