/* ===== DESIGN TOKENS ===== */
:root {
  --primary: #0F2A4A;
  --primary-light: #1B4D8E;
  --primary-dark: #091D36;
  --accent: #F59E0B;
  --accent-light: #FBBF24;
  --accent-dark: #D97706;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #10B981;
  --font-th: 'Noto Sans Thai', sans-serif;
  --font-en: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 17px;
}

body {
  font-family: var(--font-th);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 1rem;
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 700;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.4rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 14px auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(212, 168, 67, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.5);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

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

.btn-line:hover {
  background: #05B04C;
  transform: translateY(-2px);
}

.btn-tel {
  background: var(--primary-light);
  color: white;
}

.btn-tel:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.btn-fb {
  background: #1877F2;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-fb:hover {
  background: #1466D2;
  transform: translateY(-2px);
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: transparent;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text small {
  font-weight: 500;
  color: var(--gray-500);
  font-size: 0.8rem;
  display: block;
}

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

.nav a {
  padding: 10px 18px;
  color: var(--gray-600);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav a:hover {
  color: var(--primary);
  background: var(--gray-50);
}

.header-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-cta .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  padding: 8px;
  color: var(--primary);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 20px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 16px 20px;
  font-size: 1.05rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.mobile-nav a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.mobile-nav .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.mobile-nav .btn {
  justify-content: center;
}

@media (max-width: 900px) {

  .nav,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(27, 77, 142, 0.6) 0%, transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(15, 42, 74, 0.8) 0%, transparent 60%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: 60px;
  align-items: center;
}

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.1);
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.4);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-badge svg {
  color: var(--accent-light);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero-sub {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1rem;
  opacity: 0.85;
}

.hero-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.hero-contact a svg {
  color: var(--accent-light);
  opacity: 0.9;
}

.hero-contact a:hover {
  opacity: 1;
  color: var(--accent-light);
}

.hero-socials {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-line-qr {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-line-qr img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  background: white;
  padding: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hero-line-qr span,
.hero-fb-link span {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
  color: var(--white);
}

.hero-fb-link {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s;
}

.hero-fb-link:hover {
  transform: translateY(-4px);
}

.fb-icon-large {
  width: 90px;
  height: 90px;
  background: #1877F2;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hero-decoration {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    justify-content: center;
  }
}

/* ===== PRODUCTS ===== */
.products {
  background: var(--gray-50);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.price-update {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.price-update .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.product-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.product-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-card .en {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-family: var(--font-en);
}

.product-card .price {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--gray-500);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.product-card .price strong {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ===== WHY CHOOSE US ===== */
.why-us {
  background: var(--white);
}

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

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  background: var(--white);
  border-color: var(--accent);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
}

.why-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== GALLERY (shared) ===== */
.gallery-section {
  background: var(--gray-50);
}

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

.gallery-item {
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-img-wrapper {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-200);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.gallery-item:hover .gallery-img-wrapper {
  box-shadow: var(--shadow-md);
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 74, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

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

.gallery-name {
  margin-top: 12px;
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }
}

/* delivery gallery */
.delivery-section {
  background: var(--white);
}

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

.delivery-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  position: relative;
  transition: transform 0.3s;
}

.delivery-card:hover {
  transform: scale(1.02);
}

.delivery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delivery-card .tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(30, 58, 95, 0.85);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== HOW TO ORDER ===== */
.howto {
  background: var(--white);
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.howto-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--gray-200), var(--accent), var(--gray-200));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-en);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.25);
  border: 4px solid var(--white);
}

.step h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.step p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .howto-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .howto-steps::before {
    display: none;
  }
}

/* ===== FAQ ===== */
.faq {
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  gap: 12px;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  color: var(--gray-400);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.contact-item:hover {
  background: var(--gray-100);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.contact-icon.line {
  background: #06C755;
}

.contact-icon.facebook {
  background: #1877F2;
}

.contact-item h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 1.05rem;
  color: var(--gray-600);
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

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

  .contact-map iframe {
    height: 300px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 1.05rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1);
}

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

.float-btn.tel-btn {
  background: var(--primary);
}

.float-btn .tooltip {
  position: absolute;
  right: 68px;
  background: var(--gray-800);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.float-btn:hover .tooltip {
  opacity: 1;
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
  }

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

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  letter-spacing: 0.5px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  color: white;
  font-size: 2rem;
  padding: 8px;
  opacity: 0.7;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ===== PRICE TRENDS SECTION ===== */
.price-trends {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.price-trends::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.trends-header {
  text-align: center;
  margin-bottom: 50px;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-top: 10px;
  border: 1px solid var(--gray-200);
}

.trend-table-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.trend-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.trend-table th {
  background: var(--primary);
  color: var(--white);
  padding: 20px 30px;
  font-weight: 700;
  font-size: 1.1rem;
}

.trend-table td {
  padding: 20px 30px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 1.1rem;
  color: var(--gray-800);
  font-weight: 600;
}

.trend-table tr:last-child td {
  border-bottom: none;
}

.trend-table tr:hover {
  background: var(--gray-50);
}

.trend-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.status-down {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
}

.status-stable {
  color: var(--gray-500);
  background: var(--gray-100);
}

.status-icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 600px) {
  .trend-table th, .trend-table td {
    padding: 15px 20px;
    font-size: 1rem;
  }
}