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


:root {
  --primary: #1a3a5c;
  --primary-light: #244d73;
  --primary-dark: #0f2840;
  --accent: #c9a96e;
  --accent-dark: #b8944f;
  --accent-light: #d4bc8a;
  --bg-white: #ffffff;
  --bg-light: #f5f7fa;
  --text-dark: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

.section-subtitle {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-white);
}

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

.btn-white:hover {
  background: var(--bg-light);
  transform: scale(1.02);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  padding: 0 24px;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(26, 58, 92, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-white);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header.scrolled .logo-icon {
  background: var(--primary);
}
.header.scrolled .logo {
  color: var(--primary) !important;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
}

.header.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

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

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

.nav-cta {
  padding: 10px 24px !important;
  background: var(--accent);
  color: var(--primary-dark) !important;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--primary-dark) !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* ====== SR-ONLY ====== */
.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;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
}

/* Carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.9) 0%, rgba(26, 58, 92, 0.4) 50%, transparent 70%);
}

/* Overlay text */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 45%;
  z-index: 2;
  padding: 60px;
  pointer-events: none;
}

.hero-slide-content .hero-slide-title {
  color: var(--bg-white);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-slide-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-slide-content .btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-slide-content .btn:hover {
  background: #b8944f;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.4);
}

/* Arrow controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--bg-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-arrow:hover {
  background: rgba(201, 169, 110, 0.8);
  border-color: var(--accent);
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Navigation dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--bg-white);
  transform: scale(1.2);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  animation: bounce 2s infinite;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.hero-scroll-indicator svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sub-category modal title */
.sub-cat-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary, #1a3a5c);
  margin: 16px 0 12px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .sub-cat-modal-title {
    font-size: 1.25rem !important;
    margin: 12px 0 8px !important;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--bg-white);
}

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

.about-text h2 {
  margin-bottom: 20px;
}

.about-text h2::after {
  display: none;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.about-text .accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--bg-light);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--accent);
}

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

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  background: var(--bg-light);
}

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

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}

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

.product-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.product-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.product-card-body p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-card-body .btn {
  padding: 10px 20px;
  font-size: 0.875rem;
}

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

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

.advantage-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.advantage-card:hover .advantage-icon {
  background: var(--primary);
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
  transition: fill var(--transition);
}

.advantage-card:hover .advantage-icon svg {
  fill: var(--accent);
}

.advantage-card h4 {
  margin-bottom: 8px;
  color: var(--primary);
}

.advantage-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================
   PROJECTS / GALLERY SECTION
   ============================================ */
.projects {
  background: var(--bg-light);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9375rem;
  font-weight: 500;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

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

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(26, 58, 92, 0.6);
}

.gallery-overlay svg {
  width: 36px;
  height: 36px;
  fill: white;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-overlay svg {
  opacity: 1;
  transform: scale(1);
}

.gallery-item-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   INQUIRY / CONTACT SECTION
   ============================================ */
.inquiry {
  background: var(--bg-white);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}

.inquiry-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #e53e3e;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
}

.form-group .error-msg {
  color: #e53e3e;
  font-size: 0.8125rem;
  margin-top: 4px;
  display: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  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 fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.multi-select-wrapper {
  position: relative;
}

.multi-select-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
}

.multi-select-dropdown.open {
  display: block;
}

.multi-select-dropdown label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: background var(--transition);
}

.multi-select-dropdown label:hover {
  background: var(--bg-light);
}

.multi-select-dropdown input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.inquiry-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.0625rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success svg {
  width: 64px;
  height: 64px;
  fill: #38a169;
  margin-bottom: 16px;
}

.form-success h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-light);
}

/* Contact Info Side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8125rem;
  gap: 8px;
  overflow: hidden;
  padding: 6px;
}

.qr-placeholder svg {
  width: 32px;
  height: 32px;
  fill: var(--text-light);
}

.qr-placeholder .qr-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer h4 {
  color: var(--bg-white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}

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

.footer-contact p {
  font-size: 0.9375rem;
  margin-bottom: 8px;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.875rem;
  opacity: 0.5;
}

/* ============================================
   PRODUCT DETAIL MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--bg-white, #ffffff);
  border-radius: var(--radius);
  max-width: 1200px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 58, 92, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.modal-header-overlay h2 {
  color: white;
  font-size: 2rem;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 1;
}

.modal-close:hover {
  background: white;
  transform: scale(1.1);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  fill: var(--text-dark);
}

.modal-body {
  padding: 32px;
}

.modal-body h3 {
  margin-bottom: 12px;
  margin-top: 24px;
  color: var(--primary);
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p,
.modal-body li {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.modal-body ul {
  padding-left: 20px;
  list-style: disc;
}

.modal-body li {
  margin-bottom: 6px;
}

.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.modal-spec-item {
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: 8px;
}

.modal-spec-item strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 2px;
}

.modal-spec-item span {
  font-weight: 600;
  color: var(--primary);
}

.modal-colors {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.color-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.color-swatch-img {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  border: 2px solid var(--border);
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.color-swatch-img:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.color-swatch-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.color-name {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.2;
  max-width: 80px;
  word-break: break-word;
}

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

.modal-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

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

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

.modal-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
}

/* ============================================
   SUB-CATEGORY SELECTION
   ============================================ */
.sub-cat-intro {
  margin-bottom: 16px;
}

.sub-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.sub-category-card {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.sub-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.sub-category-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.sub-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.sub-category-info {
  padding: 16px;
}

.sub-category-info h4 {
  font-size: 0.9375rem;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.sub-category-info p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}

.sub-category-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.sub-cat-back {
  display: inline-block;
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  font-family: inherit;
  transition: opacity 0.2s;
}

.sub-cat-back:hover {
  opacity: 0.8;
}

.custom-size-note {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
}

/* ============================================
   COLOR VARIANT GRID (Amazon-style)
   ============================================ */
.color-variant-header {
  margin-bottom: 32px;
}

.color-variant-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.color-variant-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.color-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.color-variant-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.color-variant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.color-variant-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.color-variant-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.color-variant-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.color-variant-specs {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 4px;
  line-height: 1.4;
}

.color-variant-label {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.color-variant-link {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
  transition: opacity 0.2s;
}

.color-variant-link:hover {
  opacity: 0.8;
}

/* Color Detail View (after clicking a color card) */
.color-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.color-detail-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.color-detail-back {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  white-space: nowrap;
}

.color-detail-back:hover {
  opacity: 0.8;
}

.color-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.color-detail-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.color-detail-gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.color-detail-gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.color-detail-specs {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
}

.color-detail-specs h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.color-detail-specs table {
  width: 100%;
  border-collapse: collapse;
}

.color-detail-specs td {
  padding: 8px 12px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.color-detail-specs td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  width: 40%;
}

.color-detail-specs td:last-child {
  color: var(--text-light);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

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

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9375rem;
  opacity: 0.8;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: white;
  color: #333;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: 'Inter', sans-serif;
}

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

/* ============================================
   PRODUCT DETAIL PAGE (Taobao/JD Style)
   ============================================ */

/* Gallery */
.pd-gallery {
  margin-bottom: 24px;
}
.pd-gallery-main {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pd-gallery-main:hover img {
  transform: scale(1.03);
}
.pd-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pd-gallery-thumb {
  width: 90px;
  min-width: 90px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.pd-gallery-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.pd-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section layout */
.pd-section {
  padding: 28px 24px;
  margin: 0 -24px;
  border-bottom: 1px solid var(--border);
}
.pd-section-white {
  background: var(--bg-white);
}
.pd-section-alt {
  background: var(--bg-light);
}
.pd-section:last-of-type {
  border-bottom: none;
}
.pd-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Product title */
.pd-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.3;
}
.pd-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Specs table */
.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.pd-specs-table tr {
  border-bottom: 1px solid var(--border);
}
.pd-specs-table tr:last-child {
  border-bottom: none;
}
.pd-specs-table td {
  padding: 10px 12px;
  vertical-align: top;
  line-height: 1.5;
}
.pd-spec-label {
  font-weight: 600;
  color: var(--text-dark);
  width: 40%;
  background: rgba(201, 169, 110, 0.06);
}
.pd-specs-table td:last-child {
  color: var(--text-dark);
}

/* Features list */
.pd-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pd-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.pd-features-list li:last-child {
  border-bottom: none;
}
.pd-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* Application grid */
.pd-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pd-app-item {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.pd-app-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.pd-app-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--accent);
}
.pd-app-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.pd-app-item p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Installation steps */
.pd-install-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-install-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-white);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.pd-step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}
.pd-install-step div strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--primary);
  margin-bottom: 2px;
}
.pd-install-step div p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Note */
.pd-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

/* CTA section */
.pd-cta-section {
  text-align: center;
  padding: 36px 24px;
}
.pd-cta-section .pd-section-title {
  border-bottom: none;
  font-size: 1.3rem;
}
.pd-cta-text {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.pd-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Product Detail - Manual Images */
.pd-manual-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.pd-manual-item {
  width: 100%;
  text-align: center;
}
.pd-manual-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
.pd-manual-img:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.pd-manual-caption {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Nav overlay - hidden by default on all screens */
.nav-overlay {
  display: none;
}

@media (max-width: 768px) {
  section { padding: 48px 0; }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .section-header { margin-bottom: 40px; }

  /* Mobile nav - right slide-in panel */
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
  }
  .mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a3a5c;
    transition: all 0.3s ease;
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #fff;
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: #fff;
  }

  .nav-links {
    align-items: flex-start !important;
    text-align: left !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 280px !important;
    max-width: 80vw !important;
    height: 100vh !important;
    background: #1a3a5c !important;
    flex-direction: column !important;
    padding: 80px 24px 24px !important;
    gap: 0 !important;
    transform: translateX(100%) !important;
    opacity: 1 !important;
    pointer-events: none !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 9999 !important;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3) !important;
    overflow-y: auto !important;
  }
  .nav-links.open {
    transform: translateX(0) !important;
    pointer-events: all !important;
  }

  /* Nav overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
  }
  .nav-overlay.show {
    display: block;
  }

  /* Nav items */
  .nav-links a,
  .nav-links .nav-dropdown-trigger {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 16px 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
  }
  .nav-links a:hover,
  .nav-links .nav-dropdown-trigger:hover {
    color: #c9a96e !important;
  }
  .nav-links .nav-cta {
    background: #c9a96e !important;
    color: #fff !important;
    text-align: center !important;
    border-radius: 8px !important;
    padding: 14px 24px !important;
    margin-top: 16px !important;
    border-bottom: none !important;
    font-weight: 600 !important;
  }

  /* Products dropdown on mobile */
  .nav-dropdown-wrapper {
    width: 100% !important;
  }
  .nav-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.35s ease !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    display: block !important;
  }
  .nav-dropdown-wrapper.mobile-open .nav-dropdown {
    max-height: 400px !important;
  }
  .nav-dropdown-item.nav-category-link {
    padding: 12px 16px !important;
    color: rgba(255,255,255,0.85) !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .nav-dropdown-item.nav-category-link:hover {
    color: #c9a96e !important;
    padding-left: 20px !important;
  }
  .nav-dropdown-item.nav-category-link:last-child {
    border-bottom: none !important;
  }

  /* Hero */
  .hero-slide-content {
    width: 55%;
    padding: 40px;
  }
  .hero-slide-content .hero-slide-title {
    font-size: 2.25rem;
  }
  .hero-slide-content p {
    font-size: 1rem;
  }
  .hero-arrow {
    width: 40px;
    height: 40px;
  }
  .hero-arrow svg {
    width: 20px;
    height: 20px;
  }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }

  .hero-content p {
    font-size: 1.0625rem;
  }

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

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

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Inquiry */
  .inquiry-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    padding: 24px;
  }

  /* Modal */
  .modal-header { height: 200px; }
  .modal-gallery { grid-template-columns: repeat(2, 1fr); }
  .modal-specs { grid-template-columns: 1fr; }
  .sub-category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .modal-cta { flex-direction: column; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .color-variant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pd-section {
    padding: 20px 16px;
    margin: 0 -16px;
  }
  .pd-app-grid {
    grid-template-columns: 1fr;
  }
  .pd-gallery-thumb {
    width: 70px;
    min-width: 70px;
    height: 52px;
  }
  .pd-title {
    font-size: 1.25rem;
  }
  .pd-cta-buttons {
    flex-direction: column;
  }
  .pd-cta-buttons .btn {
    width: 100%;
  }
}

/* Mobile nav sub-panel (slides from right) */
@media (max-width: 768px) {
  .nav-sub-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: #1a3a5c;
    z-index: 1060;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .nav-sub-panel.show {
    transform: translateX(0);
  }
  .nav-sub-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9a96e;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 8px;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    width: 100%;
    text-align: left;
  }
  .nav-sub-panel .nav-dropdown-item.nav-category-link {
    color: #fff !important;
    padding: 14px 0 !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .hero { height: 100vh; }
  .hero-slide-content {
    width: 100%;
    padding: 60px 24px 24px;
  }
  .hero-slide-content .hero-slide-title { font-size: 1.75rem; }
  .hero-slide-content p { font-size: 0.9375rem; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 20px; }

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

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

  .gallery-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }

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

  .whatsapp-tooltip {
    display: none;
  }

  .color-variant-grid {
    grid-template-columns: 1fr;
  }

  .pd-gallery-thumbs {
    gap: 6px;
  }
  .pd-gallery-thumb {
    width: 60px;
    min-width: 60px;
    height: 45px;
  }
  .pd-specs-table td {
    padding: 8px 8px;
    font-size: 0.8125rem;
  }
  .pd-spec-label {
    width: 35%;
  }
  .pd-app-item {
    padding: 14px 12px;
  }
}

/* ========== PRODUCT SHOWCASE SECTION ========== */
.product-showcase {
  padding: 80px 0;
  background: var(--bg-light);
}

.showcase-group {
  margin-bottom: 48px;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.showcase-header {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  cursor: pointer;
  transition: background 0.3s;
  border-left: 4px solid var(--gold);
}

.showcase-header:hover {
  background: rgba(26, 58, 92, 0.03);
}

.showcase-header img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 24px;
  flex-shrink: 0;
}

.showcase-header-text {
  flex: 1;
}

.showcase-header h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 4px 0;
  font-weight: 700;
}

.showcase-header p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.showcase-toggle {
  display: none;
}

.showcase-group.open .showcase-toggle {
  transform: rotate(180deg);
}

.showcase-body {
  max-height: none;
  overflow: visible;
}

.showcase-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 32px 32px 32px;
}

.showcase-sub-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--bg-white);
}

.showcase-sub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--gold);
}

.showcase-sub-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.showcase-sub-info {
  padding: 16px;
}

.showcase-sub-info h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 6px 0;
  font-weight: 600;
}

.showcase-sub-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.showcase-sub-info .showcase-cta {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.showcase-no-sub {
  padding: 20px 32px;
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .showcase-header {
    padding: 16px 20px;
  }
  .showcase-header img {
    width: 56px;
    height: 56px;
    margin-right: 16px;
  }
  .showcase-header h3 {
    font-size: 1.1rem;
  }
  .showcase-sub-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    padding: 0 20px 20px 20px;
    gap: 12px;
  }
  .showcase-sub-card img {
    height: 140px;
  }
}

/* ========== NAVIGATION DROPDOWN ========== */
.nav-dropdown-wrapper {
  position: relative;
  z-index: 1050;
}

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

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.nav-dropdown-wrapper:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(-8px);
  z-index: 1100;
  border: 1px solid var(--border, #e5e7eb);
}

.nav-dropdown-wrapper:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-category {
  padding: 10px 18px;
}

.nav-dropdown-category-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy, #1a3a5c);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-dropdown-category-title:hover {
  color: var(--gold, #c9a96e);
}

.nav-dropdown-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  margin-top: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-dropdown-sub.open {
  max-height: 500px;
}

.nav-dropdown-sub-item {
  display: block;
  font-size: 0.82rem;
  color: var(--text-light, #6b7280);
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
}

.nav-dropdown-sub-item:hover {
  background: rgba(201, 169, 110, 0.1);
  color: var(--navy, #1a3a5c);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border, #e5e7eb);
  margin: 4px 18px;
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold, #c9a96e);
    margin-left: 16px;
    border-radius: 0;
    min-width: auto;
  }
  .nav-dropdown-wrapper:hover .nav-dropdown {
    transform: none;
  }
}

/* Nav dropdown - main categories only */
.nav-dropdown-item.nav-category-link {
  padding: 12px 20px;
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}
.nav-dropdown-item.nav-category-link:last-child { border-bottom: none; }
.nav-dropdown-item.nav-category-link:hover {
  background-color: #f8f9fa;
  color: #1a3a5c;
  padding-left: 25px;
}

/* Hide mobile action bar on desktop */
.mobile-action-bar { display: none; }

/* ============================================================
   MOBILE UX OVERHAUL v2 — 2026-08-22
   ============================================================ */

/* --- Global mobile base --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px 0;
  }
  body {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  section {
    padding: 40px 0 !important;
  }
  h1 { font-size: 1.875rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.5rem !important; line-height: 1.25 !important; }
  h3 { font-size: 1.15rem !important; }
  p { font-size: 0.9375rem !important; line-height: 1.65 !important; }

  /* --- Header --- */
  .header {
    height: 56px !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08) !important;
  }
  .header-inner {
    height: 56px !important;
    padding: 0 16px !important;
  }
  .logo {
    font-size: 1.15rem !important;
    gap: 8px !important;
  }
  .logo-icon {
    width: 32px !important;
    height: 32px !important;
  }
  .logo-icon svg { width: 18px !important; height: 18px !important; }

  /* --- Mobile hamburger --- */
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1200;
    margin-right: -6px;
  }
  .mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a3a5c;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  .mobile-toggle.active span {
    background: #fff !important;
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* --- Slide-in nav panel --- */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 82vw !important;
    max-width: 340px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #0f2540 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 72px 0 100px !important;
    gap: 0 !important;
    transform: translateX(100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1) !important;
    z-index: 1100 !important;
    box-shadow: -8px 0 32px rgba(0,0,0,0.25) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }
  .nav-links > a,
  .nav-links .nav-dropdown-trigger {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    text-align: left !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    box-sizing: border-box !important;
    min-height: 52px;
    opacity: 1 !important;
    background: transparent !important;
  }
  .nav-links > a:first-child { padding-top: 8px !important; }
  .nav-links .nav-dropdown-wrapper {
    width: 100% !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  .nav-links .nav-dropdown-trigger {
    justify-content: space-between !important;
    border-bottom: none !important;
  }
  .nav-links .nav-dropdown-trigger .dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.25s;
  }
  .nav-dropdown-wrapper.mobile-open .dropdown-arrow {
    transform: rotate(180deg);
  }
  .nav-links > a:active,
  .nav-links .nav-dropdown-trigger:active {
    background: rgba(201,169,110,0.12) !important;
  }
  .nav-links .nav-cta {
    margin: 20px 24px 0 !important;
    padding: 14px 20px !important;
    background: #c9a96e !important;
    color: #fff !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    border-bottom: none !important;
    min-height: 50px;
  }

  /* --- Products submenu inside mobile panel --- */
  .nav-dropdown {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    background: rgba(0,0,0,0.2) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: max-height 0.3s ease !important;
  }
  .nav-dropdown-wrapper.mobile-open .nav-dropdown {
    max-height: 500px !important;
  }
  .nav-dropdown-item.nav-category-link {
    display: block !important;
    padding: 14px 24px 14px 40px !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    background: transparent !important;
    text-decoration: none !important;
  }
  .nav-dropdown-item.nav-category-link:last-child {
    border-bottom: none !important;
  }
  .nav-dropdown-item.nav-category-link:active {
    background: rgba(201,169,110,0.15) !important;
    padding-left: 44px !important;
  }

  /* --- Overlay behind nav --- */
  .nav-overlay {
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55) !important;
    z-index: 1050 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /* --- HERO — fix white-on-white and full width text --- */
  .hero,
  .hero-carousel {
    min-height: 560px !important;
    height: 85vh !important;
    height: 85dvh !important;
  }
  .hero-slide {
    background-color: #1a3a5c !important;
  }
  .hero-slide::after {
    background: linear-gradient(180deg,
      rgba(15,37,64,0.55) 0%,
      rgba(15,37,64,0.65) 45%,
      rgba(15,37,64,0.92) 100%) !important;
  }
  .hero-slide-content {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    padding: 24px 20px 80px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    gap: 12px;
    min-height: 60%;
  }
  .hero-slide-content .hero-slide-title {
    font-size: 1.875rem !important;
    line-height: 1.15 !important;
    margin: 0 0 4px 0 !important;
    max-width: 100%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  }
  .hero-slide-content p {
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    margin: 0 0 8px 0 !important;
    max-width: 100%;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  }
  .hero-slide-content .btn {
    padding: 12px 24px !important;
    font-size: 0.9375rem !important;
    width: auto !important;
    min-width: 180px;
    justify-content: center;
  }
  .hero-arrow { display: none !important; }
  .hero-dots {
    bottom: 24px !important;
    gap: 8px !important;
  }
  .hero-dot {
    width: 8px !important;
    height: 8px !important;
  }
  .hero-scroll-indicator { display: none !important; }

  /* --- About / Stats --- */
  .about { padding: 48px 0 !important; }
  .about-grid { gap: 28px !important; }
  .about-text h2 { margin-bottom: 16px !important; }
  .about-text p { margin-bottom: 14px !important; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .stat-card {
    padding: 20px 12px !important;
    border-radius: 10px !important;
  }
  .stat-number { font-size: 2rem !important; }
  .stat-label { font-size: 0.8125rem !important; }

  /* --- Section headers --- */
  .section-header { margin-bottom: 28px !important; }
  .section-header h2 { margin-bottom: 8px !important; }
  .section-subtitle {
    font-size: 0.9375rem !important;
    padding: 0 8px;
  }
  .accent-line { width: 48px !important; margin-bottom: 16px !important; }

  /* --- Factory video --- */
  .factory-video-container { margin-top: 8px; }
  .factory-thumb {
    height: 220px !important;
    border-radius: 12px !important;
  }
  .factory-thumb-play {
    width: 56px !important;
    height: 56px !important;
  }
  .factory-thumb-play svg { width: 24px !important; height: 24px !important; }
  .factory-thumb-text { font-size: 0.9375rem !important; }

  /* --- Products grid (6 main cards) --- */
  .products-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .product-card {
    border-radius: 10px !important;
    overflow: hidden;
  }
  .product-card-img {
    height: 140px !important;
  }
  .product-card-body {
    padding: 12px !important;
  }
  .product-card-body h3 {
    font-size: 0.95rem !important;
    margin-bottom: 4px !important;
  }
  .product-card-body p {
    font-size: 0.75rem !important;
    margin-bottom: 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card .btn {
    padding: 10px 18px !important;
    font-size: 0.875rem !important;
  }

  /* --- Product Showcase (accordion) --- */
  .product-showcase { padding: 48px 0 !important; }
  .showcase-group {
    margin-bottom: 14px !important;
    border-radius: 12px !important;
  }
  .showcase-header {
    padding: 14px 16px !important;
    gap: 0;
  }
  .showcase-header img {
    width: 56px !important;
    height: 56px !important;
    margin-right: 14px !important;
    border-radius: 8px !important;
  }
  .showcase-header h3 {
    font-size: 1rem !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
  }
  .showcase-header p {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .showcase-toggle {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.85rem !important;
    margin-left: 10px !important;
  }
  .showcase-sub-grid {
    grid-template-columns: 1fr 1fr !important;
    padding: 0 8px 8px !important;
    gap: 8px !important;
  }
  .showcase-sub-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 10px !important;
    overflow: hidden;
  }
  .showcase-sub-card img {
    width: 100% !important;
    min-width: auto !important;
    height: 120px !important;
    object-fit: cover;
  }
  .showcase-sub-info {
    padding: 10px 12px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .showcase-sub-info h4 {
    font-size: 0.8125rem !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .showcase-sub-info p { display: none; }
  .showcase-sub-info .showcase-cta {
    font-size: 0.8125rem !important;
  }
  .showcase-no-sub {
    padding: 16px !important;
    font-size: 0.8125rem !important;
  }

  /* --- Why Choose Us / Advantages --- */
  .advantages-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .advantage-card {
    padding: 20px 18px !important;
    border-radius: 12px !important;
  }
  .advantage-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 12px !important;
  }
  .advantage-icon svg { width: 22px !important; height: 22px !important; }
  .advantage-card h4 {
    font-size: 1rem !important;
    margin-bottom: 6px !important;
  }
  .advantage-card p {
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
  }

  /* --- Project Gallery --- */
  .gallery-filters {
    flex-wrap: wrap;
    gap: 8px !important;
    margin-bottom: 20px !important;
    justify-content: center;
  }
  .filter-btn {
    padding: 8px 14px !important;
    font-size: 0.8125rem !important;
    border-radius: 20px !important;
    min-height: 36px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .gallery-item {
    border-radius: 10px !important;
    aspect-ratio: 1 / 1;
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gallery-item-label {
    font-size: 0.75rem !important;
    padding: 4px 10px !important;
  }

  /* --- Inquiry / Form --- */
  .inquiry { padding: 48px 0 100px !important; }
  .inquiry-grid { gap: 28px !important; }
  .inquiry-form {
    padding: 20px 18px !important;
    border-radius: 12px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .form-group { margin-bottom: 14px !important; }
  .form-group label {
    font-size: 0.875rem !important;
    margin-bottom: 6px !important;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px !important;
    font-size: 16px !important;  /* prevents iOS zoom */
    border-radius: 8px !important;
    min-height: 46px;
  }
  .form-group textarea {
    min-height: 110px !important;
  }
  .inquiry-form .btn-primary {
    width: 100% !important;
    padding: 14px !important;
    font-size: 0.9375rem !important;
    min-height: 50px;
    border-radius: 10px !important;
  }
  .contact-info {
    padding: 20px 18px !important;
    border-radius: 12px !important;
  }
  .contact-item {
    padding: 14px 0 !important;
    gap: 12px !important;
  }
  .contact-icon {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
  }
  .contact-text h4 { font-size: 0.875rem !important; }
  .contact-text p,
  .contact-text a { font-size: 0.875rem !important; }

  /* --- Footer --- */
  .footer { padding: 40px 0 24px !important; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-col h4 { font-size: 0.9375rem !important; margin-bottom: 12px !important; }
  .footer-col p,
  .footer-col a,
  .footer-col li { font-size: 0.875rem !important; line-height: 1.8 !important; }
  .footer-bottom {
    padding-top: 20px !important;
    margin-top: 20px !important;
    font-size: 0.75rem !important;
    text-align: center;
  }

  /* --- WhatsApp floating button (bigger, on-brand) --- */
  .whatsapp-float {
    width: 56px !important;
    height: 56px !important;
    bottom: 84px !important;
    right: 16px !important;
    z-index: 9999 !important;
  }
  .whatsapp-float svg { width: 28px !important; height: 28px !important; }
  .whatsapp-tooltip { display: none !important; }

  /* --- Mobile bottom action bar --- */
  .mobile-action-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
    z-index: 998;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-action-bar .mab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    min-height: 44px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s, opacity 0.15s;
  }
  .mobile-action-bar .mab-btn:active { transform: scale(0.97); }
  .mab-whatsapp {
    background: #25D366;
    color: #fff;
  }
  .mab-quote {
    background: #c9a96e;
    color: #fff;
  }
  .mab-btn svg { width: 18px; height: 18px; fill: currentColor; }

  /* --- Product detail modal (Taobao/JD style) mobile --- */
  .pd-gallery-main {
    aspect-ratio: 4 / 3 !important;
    border-radius: 0 !important;
    margin: 0 -16px 12px !important;
  }
  .pd-gallery-thumbs {
    padding: 0 0 4px 16px !important;
    gap: 8px !important;
  }
  .pd-gallery-thumb {
    width: 64px !important;
    min-width: 64px !important;
    height: 48px !important;
  }
  .pd-section {
    padding: 18px 16px !important;
    margin: 0 -16px !important;
  }
  .pd-title { font-size: 1.2rem !important; }
  .pd-subtitle { font-size: 0.875rem !important; }
  .pd-section-title {
    font-size: 1.05rem !important;
    margin-bottom: 12px !important;
  }
  .pd-specs-table { font-size: 0.8125rem !important; }
  .pd-specs-table td {
    padding: 8px 10px !important;
  }
  .pd-spec-label { width: 42% !important; }
  .pd-features-list li {
    font-size: 0.875rem !important;
    padding: 8px 0 !important;
    gap: 8px !important;
  }
  .pd-app-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .pd-app-item { padding: 14px 12px !important; }
  .pd-app-item h4 { font-size: 0.8125rem !important; }
  .pd-app-item p { font-size: 0.75rem !important; }
  .pd-install-step { padding: 12px !important; gap: 12px !important; }
  .pd-step-num {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 0.8125rem !important;
  }
  .pd-install-step div strong { font-size: 0.875rem !important; }
  .pd-install-step div p { font-size: 0.75rem !important; }
  .pd-cta-section { padding: 28px 16px 40px !important; }
  .pd-cta-buttons { flex-direction: column !important; gap: 10px !important; }
  .pd-cta-buttons .btn { width: 100% !important; padding: 12px !important; font-size: 0.9375rem !important; }
  .color-variant-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .color-variant-card {
    border-radius: 10px !important;
  }
  .color-variant-card img {
    aspect-ratio: 1 / 1 !important;
  }
  .color-variant-card h4 { font-size: 0.8125rem !important; padding: 10px !important; }

  /* --- Product modal container --- */
  .modal-content,
  .product-modal-content {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .modal-close,
  .product-modal-close {
    top: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 10;
    background: rgba(255,255,255,0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  }

  /* --- Lightbox tweaks for mobile --- */
  .lightbox-img {
    max-width: 95vw !important;
    max-height: 75vh !important;
  }
  .lightbox-close {
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
  }
  .lightbox-nav {
    width: 40px !important;
    height: 40px !important;
    top: auto !important;
    bottom: 80px !important;
    transform: none !important;
  }
  .lightbox-prev { left: 16px !important; }
  .lightbox-next { right: 16px !important; }

  /* --- Hide scroll indicator but keep content scrollable --- */
  body.nav-open .mobile-action-bar { display: none !important; }

  /* --- Mobile product density optimization v3 --- */
  /* Compact sub-category cards inside modal */
  .sub-category-card { border-radius: 10px !important; }
  .sub-category-img {
    aspect-ratio: 4/3 !important;
    height: auto !important;
  }
  .sub-category-info { padding: 10px 12px !important; }
  .sub-category-info h4 {
    font-size: 0.8125rem !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sub-category-info p {
    font-size: 0.6875rem !important;
    margin-bottom: 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sub-category-cta { font-size: 0.6875rem !important; }

  /* Compact modal header on mobile */
  .modal-header { height: 160px !important; }

  /* Reduce showcase header spacing */
  .showcase-header {
    padding: 10px 12px !important;
  }
  .showcase-header img {
    width: 44px !important;
    height: 44px !important;
    margin-right: 10px !important;
  }
  .showcase-header h3 {
    font-size: 0.875rem !important;
  }
  .showcase-header p {
    font-size: 0.6875rem !important;
    -webkit-line-clamp: 1 !important;
  }

  /* Product modal compact */
  .modal-content,
  .product-modal-content {
    max-height: 85vh !important;
    max-height: 85dvh !important;
  }

  /* Product showcase section padding */
  .product-showcase { padding: 32px 0 !important; }

  /* Section header spacing */
  .section-header { margin-bottom: 24px !important; }
  .section-header h2 { font-size: 1.35rem !important; }
  .section-header p { font-size: 0.8125rem !important; }

  /* Gallery grid compact */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  /* Video section compact */
  .installation-videos {
    padding: 32px 0 !important;
  }
  .videos-grid {
    gap: 12px !important;
  }
  .video-card-info {
    padding: 12px !important;
  }
  .video-card-info h3 {
    font-size: 0.875rem !important;
  }
  .video-card-info p {
    font-size: 0.75rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero,
  .hero-carousel {
    min-height: 500px !important;
    height: 80vh !important;
    height: 80dvh !important;
  }
  .hero-slide-content {
    padding: 20px 16px 90px !important;
  }
  .hero-slide-content .hero-slide-title { font-size: 1.625rem !important; }
  .hero-slide-content p { font-size: 0.875rem !important; }
  .showcase-header h3 { font-size: 0.9375rem !important; }
  .showcase-sub-card img {
    width: 96px !important;
    min-width: 96px !important;
    height: 90px !important;
  }
  .gallery-grid { gap: 8px !important; }
  .stats-grid { gap: 10px !important; }
  .stat-number { font-size: 1.75rem !important; }
  .mobile-action-bar .mab-btn {
    font-size: 0.8125rem;
    padding: 10px 6px;
  }
  .mab-btn svg { width: 16px; height: 16px; }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero,
  .hero-carousel {
    height: 360px !important;
    min-height: 360px !important;
  }
  .hero-slide-content {
    padding: 16px 20px 60px !important;
  }
}

/* End MOBILE UX OVERHAUL v2 */

.header.scrolled .mobile-toggle span {
  background: #1a3a5c !important;
}

/* ===== MOBILE COLOR VARIANT GRID FIX v8 ===== */
.color-variant-image {
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}
.color-variant-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .modal-body {
    padding: 16px !important;
    padding-bottom: 40px !important;
  }
  .color-variant-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .color-variant-card {
    border-radius: 10px !important;
    overflow: hidden !important;
    min-width: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  }
  .color-variant-image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
  }
  .color-variant-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .color-variant-info {
    padding: 10px 12px !important;
  }
  .color-variant-name {
    font-size: 0.8125rem !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
    word-break: break-word !important;
  }
  .color-variant-specs,
  .color-variant-type {
    font-size: 0.6875rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }
  .color-variant-link {
    font-size: 0.75rem !important;
    margin-top: 6px !important;
  }
  .color-grid-title {
    font-size: 1.25rem !important;
  }
  .color-grid-header p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }
  /* Ensure modal can scroll to show all cards */
  .modal {
    max-height: 100vh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .modal-header {
    height: 180px !important;
  }
}

/* Hide floating buttons when modal or lightbox is open — prevent overlap with product image browsing */
body.modal-open .whatsapp-float,
body.modal-open .mobile-action-bar,
.modal-overlay.active ~ .whatsapp-float,
.modal-overlay.active ~ .mobile-action-bar,
.lightbox-overlay.active ~ .whatsapp-float,
.lightbox-overlay.active ~ .mobile-action-bar {
  display: none !important;
}

/* Lightbox prev/next arrows — move further from edge and raise z-index above WhatsApp */
@media (max-width: 768px) {
  .lightbox-overlay.active .whatsapp-float,
  .lightbox-overlay.active .mobile-action-bar {
    display: none !important;
  }
  .lightbox-prev,
  .lightbox-next {
    z-index: 10001 !important;
  }
}

/* ===== Factory Tour Video Modal ===== */
.ft-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.ft-modal.active {
  display: flex !important;
}
.ft-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}
.ft-modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.ft-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-modal-close:hover {
  background: rgba(255,255,255,0.2);
}
.ft-modal-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.ft-modal-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Factory thumbnail */
.factory-video-container {
  max-width: 800px;
  margin: 0 auto;
}
.factory-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8c 100%);
}
.factory-thumb-bg {
  width: 100%;
  height: 100%;
}
.factory-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.factory-thumb:hover .factory-thumb-overlay {
  background: rgba(0,0,0,0.5);
}
.factory-thumb-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201,169,110,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.3s;
}
.factory-thumb:hover .factory-thumb-play {
  transform: scale(1.1);
}
.factory-thumb-text {
  color: white;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .ft-modal-content {
    width: 95% !important;
    max-width: 95% !important;
  }
  .factory-thumb-play {
    width: 50px;
    height: 50px;
  }
  .factory-thumb-text {
    font-size: 15px;
  }
}

/* ===== Installation Videos Section ===== */
.installation-videos {
  padding: 80px 0;
  background: var(--bg-light, #f5f7fa);
}
.installation-videos .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.installation-videos .section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary, #1a3a5c);
  margin-bottom: 12px;
}
.installation-videos .section-header .section-subtitle {
  color: var(--text-light, #718096);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.video-card video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #000;
  border-radius: 12px 12px 0 0;
}
.video-card-info {
  padding: 20px;
}
.video-card-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary, #1a3a5c);
  margin-bottom: 8px;
  line-height: 1.4;
}
.video-card-info p {
  font-size: 0.875rem;
  color: var(--text-light, #718096);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .installation-videos {
    padding: 48px 0;
  }
  .installation-videos .section-header h2 {
    font-size: 1.75rem;
  }
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  .video-card video {
    aspect-ratio: 16/9;
  }
  .video-card-info {
    padding: 16px;
  }
  .video-card-info h3 {
    font-size: 1rem;
  }
}

/* ===== FAQ Section ===== */
.faq-section{padding:80px 0;background:#f7f5f1}
.faq-list{max-width:840px;margin:0 auto}
.faq-item{background:#fff;border:1px solid rgba(26,58,92,.1);border-radius:10px;margin-bottom:12px;overflow:hidden}
.faq-item summary{cursor:pointer;list-style:none;padding:20px 24px;font-weight:600;color:#1a3a5c;font-size:1.02rem;position:relative;padding-right:48px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);font-size:1.5rem;color:#c9a96e;font-weight:400;line-height:1}
.faq-item[open] summary::after{content:"\2013"}
.faq-item .faq-a{padding:0 24px 20px;color:#4a5560;line-height:1.7}
@media(max-width:768px){.faq-item summary{font-size:.95rem;padding:16px 18px;padding-right:44px}.faq-item .faq-a{padding:0 18px 16px;font-size:.92rem}}
