/* ==========================================================================
   Chokcharoen Fabric Store — Premium Design System
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+Thai:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors — Inspired by Thai silk */
  --gold:        #D4A843;
  --gold-light:  #F0D68A;
  --gold-dark:   #B8912F;
  --purple:      #4A1942;
  --purple-deep: #2D0F2B;
  --maroon:      #6B1D3A;
  --maroon-light:#8B2E50;
  --cream:       #FDF6EC;
  --cream-dark:  #F5EAD6;

  /* Neutrals */
  --bg:          #0D0B0E;
  --bg-card:     rgba(255,255,255,0.04);
  --bg-glass:    rgba(255,255,255,0.06);
  --text:        #F2EDE4;
  --text-muted:  #A89F91;
  --text-dark:   #1A1A1A;
  --border:      rgba(212,168,67,0.15);

  /* Sizes */
  --max-width:   1280px;
  --nav-height:  72px;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-xs:   6px;

  /* Transitions */
  --ease:        cubic-bezier(.4,0,.2,1);
  --duration:    0.35s;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.2);
  --shadow-md:   0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(212,168,67,0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Noto Sans Thai', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease);
}

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  width: 100%;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Noto Sans Thai', serif;
  font-weight: 700;
  line-height: 1.2;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  font-weight: 300;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--purple-deep);
  box-shadow: 0 4px 20px rgba(212,168,67,0.3);
}

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

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--purple-deep);
  transform: translateY(-2px);
}

/* Ripple on click */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.25);
  border-radius: inherit;
  transform: scale(0);
  opacity: 0;
  transition: none;
}
.btn:active::after {
  transform: scale(2.5);
  opacity: 0;
  transition: transform .5s, opacity .5s;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.nav.scrolled {
  background: rgba(13,11,14,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple-deep);
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--duration) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--duration) var(--ease);
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
}

.lang-btn.active {
  background: var(--gold);
  color: var(--purple-deep);
}

/* Mobile menu button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open 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;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.2);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(13,11,14,0.6) 0%,
      rgba(13,11,14,0.2) 40%,
      rgba(13,11,14,0.7) 80%,
      rgba(13,11,14,1) 100%),
    linear-gradient(90deg,
      rgba(13,11,14,0.8) 0%,
      transparent 60%);
}

/* Shimmer overlay */
.hero-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212,168,67,0.03) 45%,
    rgba(212,168,67,0.06) 50%,
    rgba(212,168,67,0.03) 55%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 40px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 8px;
  max-width: 700px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline-th {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--gold-light);
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0.85;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 4px;
}

/* ---------- Products Section ---------- */
.products {
  padding: 100px 0;
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74,25,66,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.products-header {
  text-align: center;
  margin-bottom: 60px;
}

.products-header .section-subtitle {
  margin: 0 auto;
}

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

.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,168,67,0.35);
  box-shadow: var(--shadow-glow);
}

.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,11,14,0.8) 100%);
}

.product-card-body {
  padding: 24px;
}

.product-card-name {
  font-family: 'Playfair Display', 'Noto Sans Thai', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.product-card-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(212,168,67,0.1);
  color: var(--gold);
  border-radius: 50px;
  border: 1px solid rgba(212,168,67,0.2);
}

/* ---------- About Section ---------- */
.about {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-md);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience {
  position: absolute;
  top: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--purple-deep);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-experience-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.about-experience-text {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(212,168,67,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- Services Section ---------- */
.services {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(74,25,66,0.06) 50%, transparent 100%);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--maroon-light), var(--gold));
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,168,67,0.3);
  box-shadow: var(--shadow-glow);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all var(--duration) var(--ease);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-color: transparent;
}

.service-name {
  font-family: 'Playfair Display', 'Noto Sans Thai', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 100px 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

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

.testimonial-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
  border-color: rgba(212,168,67,0.35);
  box-shadow: var(--shadow-glow);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--maroon));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
}

.testimonial-author-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.testimonial-author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Contact Section ---------- */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(74,25,66,0.08) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-info-desc {
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}

.contact-item:hover {
  border-color: rgba(212,168,67,0.35);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(212,168,67,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-item-value {
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-item-value a {
  color: var(--gold);
}
.contact-item-value a:hover {
  color: var(--gold-light);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.2rem;
  transition: all var(--duration) var(--ease);
}

.contact-social-link:hover {
  background: var(--gold);
  color: var(--purple-deep);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 380px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: brightness(0.85) contrast(1.1) saturate(0.8);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.cta-inner {
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--maroon) 50%, var(--purple-deep) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(212,168,67,0.2);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212,168,67,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(212,168,67,0.08) 0%, transparent 50%);
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 32px;
  font-weight: 300;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- Social CTA Section ---------- */
.social-cta {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.social-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.social-cta-box {
  background: rgba(43, 33, 49, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  z-index: 2;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.social-cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 168, 67, 0.2);
}

.social-cta-icon {
  margin-bottom: 24px;
}

.social-cta-title {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.social-cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 30px;
}

.social-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.social-stat {
  display: flex;
  flex-direction: column;
}

.social-stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text);
}

.social-stat span {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.footer-link:hover {
  color: var(--gold);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--purple-deep);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,168,67,0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .updates-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-link {
    font-family: 'Playfair Display', 'Noto Sans Thai', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link:active {
    color: var(--gold);
  }

  .nav-link {
    font-size: 1.4rem;
    font-weight: 600;
  }

  .nav-hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-stats {
    gap: 28px;
  }

  .updates-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .about-img-accent {
    display: none;
  }

  .about-experience {
    top: auto;
    bottom: -15px;
    left: 20px;
  }

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

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

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 40px 24px;
  }

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

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