html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

:root {
  --color-textlogo: #ffffff;
  --color-brand: #1b3d6e;
  --color-brand-dark: #112649;
  --color-brand-light: #2558a0;
  --color-accent: #c8960c;
  --color-accent-soft: #e8b020;
  --color-accent-glow: rgba(200, 150, 12, 0.18);
  --color-gold: #e8b020;
  --color-surface: #f2f5fa;
  --color-surface-2: #e0e8f4;
  --color-text: #1c2d4a;
  --color-text-muted: #5a6e8c;
  --shadow-sm: 0 2px 12px rgba(27, 61, 110, 0.08);
  --shadow-md: 0 8px 32px rgba(27, 61, 110, 0.10);
  --shadow-lg: 0 20px 60px rgba(27, 61, 110, 0.14);
  --shadow-accent: 0 12px 36px rgba(200, 150, 12, 0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-h: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sarabun', sans-serif;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Prompt', sans-serif;
  color: var(--color-brand);
  font-weight: 700;
  letter-spacing: -0.3px;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* ─────────────────────────────────────
   NAVBAR
───────────────────────────────────── */
.navbar-corp {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(17, 38, 73, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 9999;
  transition: var(--transition);
}

.navbar-corp .container-fluid { height: 100%; }

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-brand-text {
  color: #fff;
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.3px;
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap !important; /* ป้องกันเมนูตกบรรทัด */
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-links a.active {
  color: var(--color-accent-soft);
}

/* ─────────────────────────────────────
   LANG DROPDOWN
───────────────────────────────────── */
.lang-dropdown { position: relative; padding: 15px 0; }

.lang-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 61, 110, 0.09);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 150px;
  z-index: 1000;
  transform: translateY(8px);
  transition: var(--transition);
}

.lang-dropdown:hover .lang-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.lang-dropdown-menu a {
  padding: 10px 18px;
  display: block;
  color: var(--color-brand);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.lang-dropdown-menu a:hover {
  background: var(--color-surface);
  color: var(--color-accent);
}

/* ─────────────────────────────────────
   MOBILE TOGGLE
───────────────────────────────────── */
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 99999;
}

.nav-toggle:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.mobile-nav-panel {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: var(--header-h);
  background: rgba(17, 38, 73, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0 16px;
  z-index: 9998;
}

.mobile-nav-panel.show { display: block; }

.mobile-nav-panel a {
  display: block;
  padding: 13px 24px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.mobile-nav-panel a:last-child { border-bottom: none; }

.mobile-nav-panel a:hover {
  color: var(--color-accent-soft);
  padding-left: 30px;
  background: rgba(255,255,255,0.04);
}

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  min-height: calc(80vh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url('../img/coverconair.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(17, 38, 73, 0.82) 0%, rgba(27, 61, 110, 0.50) 55%, rgba(27, 61, 110, 0.10) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(17, 38, 73, 0.32));
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 55%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(200, 150, 12, 0.36), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  color: #fff;
  max-width: 650px;
  padding: 20px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

.hero-eyebrow span {
  color: var(--color-accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 .accent-word {
  color: var(--color-accent-soft);
  position: relative;
}

.hero p {
  font-size: 1rem;
  font-weight: 300;
  max-width: 550px;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 52px;
}

.btn-primary-corp {
  background: var(--color-accent);
  color: #fff;
  padding: 15px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-family: 'Prompt', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.85rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-accent);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary-corp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}

.btn-primary-corp:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 44px rgba(200, 150, 12, 0.36);
  background: var(--color-accent-soft);
}

.btn-secondary-corp {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-family: 'Prompt', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-secondary-corp:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-2px);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-badge {
  background: rgba(255,255,255,0.05);
  padding: 20px 22px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.hero-badge:hover {
  background: rgba(255,255,255,0.10);
}

.hero-badge-icon {
  width: 32px;
  height: 32px;
  background: var(--color-accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--color-accent-soft);
  font-size: 0.9rem;
}

.hero-badge strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 3px;
  font-weight: 700;
}

.hero-badge span {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
}

/* ─────────────────────────────────────
   SECTION GENERAL
───────────────────────────────────── */
.section-padding { padding: 100px 0; }

.bg-surface {
  background: linear-gradient(180deg, #f2f5fa 0%, #e0e8f4 100%);
}

.section-header {
  margin-bottom: 56px;
}

.section-header .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.75rem;
  margin-bottom: 14px;
}

.section-header .subtitle::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.section-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  margin-bottom: 12px;
  color: var(--color-brand);
  letter-spacing: -1px;
}

.section-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ─────────────────────────────────────
   ABOUT
───────────────────────────────────── */
.about-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.25;
}

.lead-copy {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid rgba(10, 37, 64, 0.07);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-brand);
  transition: var(--transition);
  flex: 1 1 250px;
  max-width: 280px;
  text-align: left;
}

.feature-list li:hover {
  background: #fff;
  border-color: rgba(200, 150, 12, 0.16);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-list i {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  background: rgba(200, 150, 12, 0.10);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.custom-slide-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .custom-slide-img { height: 220px; }
}

.carousel-inner.about-image { border-radius: var(--radius-xl); }

/* ─────────────────────────────────────
   SERVICES
───────────────────────────────────── */
.service-wrapper {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(27, 61, 110, 0.08);
}

.service-sidebar {
  background: var(--color-surface);
  border-bottom: 1px solid rgba(27, 61, 110, 0.08);
  padding: 16px 20px;
}

.service-sidebar .nav {
  display: flex;
  flex-direction: row !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: transparent;
  text-align: center;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Prompt', sans-serif;
  transition: var(--transition);
  cursor: pointer;
}

.service-btn i {
  font-size: 1.2rem;
  color: #b0bec5;
  transition: var(--transition);
}

.service-btn.active,
.service-btn:hover {
  background: #fff;
  color: var(--color-brand);
  box-shadow: var(--shadow-sm);
}

.service-btn.active {
  color: var(--color-brand);
  font-weight: 700;
}

.service-btn.active i,
.service-btn:hover i {
  color: var(--color-accent);
}

.service-content-area { 
  padding: 44px; 
  text-align: center;
}

.service-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 auto 30px auto;
  border: none;
  box-shadow: var(--shadow-md);
  display: block;
  background-color: var(--color-surface);
}

.service-content-area h3 {
  font-size: 1.65rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--color-brand);
}

.service-content-area p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto;
}

/* ─────────────────────────────────────
   CALCULATOR
───────────────────────────────────── */
.calc-wrapper {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid rgba(27, 61, 110, 0.18);
  overflow: hidden;
  position: relative;
}

.calc-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-soft));
}

.calc-header {
  font-size: 0.75rem;
  color: var(--color-brand);
  font-weight: 800;
  padding-bottom: 12px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(27, 61, 110, 0.09);
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-header::before {
  content: '';
  width: 4px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 2px;
}

.calc-input-label {
  font-size: 0.8rem;
  color: var(--color-brand);
  font-weight: 700;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-input {
  border: 1.5px solid rgba(27, 61, 110, 0.12);
  border-radius: var(--radius);
  padding: 12px 15px;
  font-size: 0.98rem;
  width: 100%;
  background: var(--color-surface);
  transition: var(--transition);
  color: var(--color-text);
  font-family: 'Sarabun', sans-serif;
}

.calc-input:focus {
  border-color: var(--color-accent);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200, 150, 12, 0.10);
}

.result-main-box {
  background: linear-gradient(135deg, #1b3d6e 0%, #2558a0 100%);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.result-main-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.result-main-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.result-main-value {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 18px 16px;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}

.unit-symbol {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

/* ─────────────────────────────────────
   AFFILIATED COMPANIES
───────────────────────────────────── */
.affiliated {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 90px;
}

.affiliate-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(27, 61, 110, 0.09);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.affiliate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-surface-2);
  transition: var(--transition);
}

.affiliate-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 150, 12, 0.13);
}

.affiliate-card:hover::before {
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-soft));
}

.affiliate-card img {
  height: 55px;
  width: auto;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: grayscale(0%) opacity(0.7);
  transition: var(--transition);
}

.affiliate-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.affiliate-card h5 {
  color: var(--color-brand);
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: var(--transition);
}

.affiliate-card:hover h5 { color: var(--color-accent); }

.affiliate-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ─────────────────────────────────────
   PORTFOLIO (อัปเดตใหม่ สวยงาม 100%)
───────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 10px;
}

.port-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); 
  cursor: pointer;
  aspect-ratio: 4 / 3; 
  background: #fff;
}

.port-item img.port-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.5s ease;
  opacity: 1;
}

.port-item:hover img.port-img {
  transform: scale(1.08);
}

.port-overlay {
  position: absolute;
  inset: auto 0 0 0; 
  height: auto;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, transparent 100%);
  display: block;
  opacity: 0; 
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.port-item:hover .port-overlay {
  opacity: 1;
  transform: translateY(0);
}

.port-overlay h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
  transform: none;
}

.port-overlay-tag {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  transform: none;
  opacity: 1;
}

/* ─────────────────────────────────────
   FAQ 
───────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(27, 61, 110, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: rgba(200, 150, 12, 0.20);
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-color: rgba(200, 150, 12, 0.24);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
}

.faq-question-text {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-brand);
  line-height: 1.45;
  flex: 1;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.85rem;
  transition: var(--transition);
  margin-top: 1px;
}

.faq-item.open .faq-icon {
  background: var(--color-accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  border-top: 1px solid rgba(27, 61, 110, 0.07);
  padding-top: 16px;
}

.faq-answer-inner strong { color: var(--color-brand); }

.faq-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 150, 12, 0.08);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  display: block;
  width: fit-content;
}

.faq-cta-row { text-align: center; margin-top: 48px; }
.faq-cta-row p { color: var(--color-text-muted); margin-bottom: 16px; font-size: 0.97rem; }

@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────
   CONTACT
───────────────────────────────────── */
.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px;
  border: 1px solid rgba(27, 61, 110, 0.08);
}

.contact-form .form-control {
  padding: 13px 16px;
  border: 1.5px solid rgba(27, 61, 110, 0.12);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-family: 'Sarabun', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--color-text);
}

.contact-form .form-control:focus {
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(200, 150, 12, 0.10);
  outline: none;
}

.contact-form label {
  font-weight: 700;
  color: var(--color-brand);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
}

.location-list { display: flex; flex-direction: column; gap: 20px; }

.loc-item {
  background: #fff;
  border: 1px solid rgba(27, 61, 110, 0.09);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.loc-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.loc-item h5 {
  color: var(--color-brand);
  margin-bottom: 16px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(27, 61, 110, 0.08);
  padding-bottom: 12px;
}

.loc-item h5 i { color: var(--color-accent); }

.loc-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.loc-detail i {
  color: var(--color-accent);
  margin-top: 3px;
  width: 16px;
  flex: 0 0 16px;
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.site-footer {
  background: var(--color-brand-dark);
  color: rgba(255,255,255,0.72);
  padding: 88px 0 36px;
  font-size: 0.93rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-soft), transparent);
}

.site-footer h5 {
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: rgba(255,255,255,0.72);
  transition: var(--transition);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--color-accent-soft);
  transform: translateX(5px);
}

.footer-links a i { font-size: 0.7rem; opacity: 0.6; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}

.footer-contact-item .icon-wrap {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-soft);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-contact-item a { color: rgba(255,255,255,0.72); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--color-accent-soft); }

/* ─────────────────────────────────────
   MODAL
───────────────────────────────────── */
.modal-content {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal { z-index: 100001 !important; }
.modal-backdrop { z-index: 100000 !important; }

/* ─────────────────────────────────────
   RESPONSIVE & TABLET MENU FIX
───────────────────────────────────── */
@media (max-width: 1199px) {
  .hero-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1199px) and (min-width: 992px) {
  /* ซ่อนชื่อบริษัทในจอแท็บเล็ต ให้เหลือแค่โลโก้ */
  .nav-brand-text { display: none !important; }
  .nav-links { gap: 2px !important; }
  .nav-links a {
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
  }
}

@media (max-width: 991px) {
  body { padding-top: 72px; }
  :root { --header-h: 72px; }
  .hero { min-height: calc(100vh - 72px); }
  .nav-links { display: none; }
  .hero-content { padding: 56px 0; }
  .hero h1 { font-size: 3rem; letter-spacing: -1px; }
  .hero-badges { grid-template-columns: 1fr; }
  
  .service-sidebar .nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  .service-btn { white-space: nowrap; }
  .service-btn.active {
    border-bottom: 3px solid var(--color-accent) !important;
    background: #fff;
  }
  .service-content-area { padding: 24px; }
  .calc-wrapper { padding: 28px; }
  .contact-card { padding: 30px; }
  .section-padding { padding: 72px 0; }
}

@media (max-width: 767px) {
  .feature-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .section-header { margin-bottom: 40px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary-corp, .btn-secondary-corp { width: 100%; justify-content: center; }
}