/* ============================================
   HUAYONG CASTING - B2B Industrial Website
   Precision Investment Casting Foundry
   ============================================ */

:root {
  --primary: #0a1628;
  --secondary: #1a2d47;
  --accent: #c9a961;
  --accent-light: #e0c87a;
  --steel: #4a5568;
  --steel-light: #718096;
  --bg-light: #f5f6f8;
  --bg-white: #ffffff;
  --text-dark: #1a202c;
  --text-gray: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--primary);
  color: #a0aec0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201,169,97,0.2);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left span { margin-right: 24px; }
.top-bar-left a { color: var(--accent); }
.top-bar-left a:hover { color: var(--accent-light); }
.top-bar-right { font-weight: 500; letter-spacing: 0.5px; }

/* ========== HEADER ========== */
.site-header {
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  border-bottom: 2px solid var(--accent);
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  font-size: 18px;
}
.logo-text { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
.logo-text span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: #cbd5e0;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
  background: rgba(201,169,97,0.08);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.header-right { display: flex; align-items: center; gap: 16px; }
.lang-select select {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.lang-select select option { color: var(--text-dark); }
.header-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.header-whatsapp:hover { background: #1da851; transform: translateY(-1px); }

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
}
.slider-wrapper { width: 100%; height: 100%; position: relative; }
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(26,45,71,0.6) 50%, rgba(10,22,40,0.75) 100%);
  z-index: 1;
}
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 780px;
  padding: 0 24px;
  margin-left: calc((100vw - 1280px) / 2);
  animation: slideUp 0.8s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.slide-badge {
  display: inline-block;
  background: rgba(201,169,97,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.slide-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.slide-content h1 span { color: var(--accent); }
.slide-content p {
  font-size: 1.15rem;
  color: #cbd5e0;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 620px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}
.dot.active { background: var(--accent); width: 60px; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(201,169,97,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,169,97,0.4);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--primary); }
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover { background: var(--secondary); transform: translateY(-2px); }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* ========== SECTION COMMON ========== */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--primary); color: #fff; }
.section-gray { background: var(--bg-light); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-dark .section-header h2 { color: #fff; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
}
.section-dark .section-header p { color: #a0aec0; }

/* ========== THREE ADVANTAGES ========== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.advantage-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(201,169,97,0.08), transparent);
  border-radius: 0 0 0 80px;
}
.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.advantage-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  position: relative;
}
.advantage-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.advantage-card p {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 15px;
}

/* ========== PRODUCT CATEGORIES ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  height: 200px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.08);
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.3));
  z-index: 1;
  pointer-events: none;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}
.product-body { padding: 24px; }
.product-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.product-meta span {
  background: var(--bg-light);
  color: var(--steel);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}
.product-body p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.product-btn:hover { gap: 10px; }

/* ========== WHY CHOOSE US ========== */
.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image img { width: 100%; height: 450px; object-fit: cover; }
.why-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent);
  border-radius: 8px;
  pointer-events: none;
}
.why-experience {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--primary);
  padding: 20px 28px;
  border-radius: 8px;
  text-align: center;
}
.why-experience .num { font-size: 2.5rem; font-weight: 900; line-height: 1; }
.why-experience .label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.why-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.why-content > p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(201,169,97,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.why-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.why-item p { color: var(--text-gray); font-size: 14px; line-height: 1.6; }

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: #fff;
  padding: 36px 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--accent); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.testimonial-info h5 { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.testimonial-info p { font-size: 13px; color: var(--text-light); }

/* ========== QUOTE FORM ========== */
.quote-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.quote-info h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
.quote-info h2 span { color: var(--accent); }
.quote-info > p { color: #a0aec0; font-size: 16px; line-height: 1.8; margin-bottom: 30px; }
.quote-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.quote-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e0;
  font-size: 15px;
}
.quote-feature::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.quote-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
}
.quote-whatsapp-btn:hover { background: #1da851; transform: translateY(-2px); }

.quote-form-card {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.quote-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.quote-form-card > p { color: var(--text-gray); font-size: 14px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group label .req { color: #e53e3e; }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  background: #fff;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.15);
}
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.form-submit { width: 100%; margin-top: 8px; }

/* ========== PRODUCTS PAGE ========== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 80px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.page-hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: #a0aec0; max-width: 600px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: #a0aec0; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

.filter-bar {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-gray);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.filter-result { margin-left: auto; font-size: 14px; color: var(--text-light); }

/* ========== ABOUT PAGE ========== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 6px;
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year {
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-item h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.timeline-item p { color: var(--text-gray); font-size: 14px; line-height: 1.7; }

.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.factory-img {
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.factory-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.factory-img:hover img { transform: scale(1.08); }
.factory-img::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,22,40,0.9));
  color: #fff;
  padding: 30px 16px 14px;
  font-size: 14px;
  font-weight: 600;
}

.quality-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.quality-step {
  background: #fff;
  padding: 24px 16px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--accent);
  position: relative;
}
.quality-step-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto 12px;
}
.quality-step h5 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.quality-step p { font-size: 12px; color: var(--text-light); line-height: 1.5; }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.cert-icon { font-size: 48px; margin-bottom: 14px; }
.cert-card h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.cert-card p { font-size: 12px; color: var(--text-light); }

/* ========== CONTACT PAGE ========== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--primary);
  color: #fff;
  padding: 40px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,169,97,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.contact-info-card h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; position: relative; }
.contact-info-card > p { color: #a0aec0; margin-bottom: 30px; font-size: 15px; position: relative; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}
.contact-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(201,169,97,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.contact-item h5 { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item p { color: #cbd5e0; font-size: 15px; line-height: 1.5; }
.contact-item a:hover { color: var(--accent); }

.response-promise {
  margin-top: 30px;
  padding: 20px;
  background: rgba(201,169,97,0.1);
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 8px;
  text-align: center;
  position: relative;
}
.response-promise .hours { font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.response-promise p { font-size: 13px; color: #cbd5e0; margin-top: 4px; }

.contact-form-card {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-form-card > p { color: var(--text-gray); font-size: 14px; margin-bottom: 28px; }

.map-section { margin-top: 50px; }
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  background: #e2e8f0;
  position: relative;
}
.map-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  color: var(--steel);
}
.map-placeholder .icon { font-size: 48px; margin-bottom: 12px; }
.map-placeholder p { font-size: 15px; font-weight: 500; }

/* ========== FOOTER ========== */
.site-footer {
  background: #060d18;
  color: #a0aec0;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent);
}
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  font-size: 14px;
}
.footer-logo-text { color: #fff; font-size: 15px; font-weight: 700; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); }

.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #a0aec0; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-contact li::before { color: var(--accent); flex-shrink: 0; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--accent); }

/* ========== FLOATING WHATSAPP ========== */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
  transition: var(--transition);
}
.float-whatsapp:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ========== ADMIN ========== */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 20px;
}
.admin-login-card {
  background: #fff;
  padding: 48px 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.admin-login-card .logo-mark {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  font-size: 24px;
}
.admin-login-card h2 { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.admin-login-card > p { color: var(--text-gray); font-size: 14px; margin-bottom: 30px; }
.admin-login-card .form-group { text-align: left; }
.admin-error { background: #fed7d7; color: #9b2c2c; padding: 12px; border-radius: 4px; font-size: 14px; margin-bottom: 20px; }

.admin-header {
  background: var(--primary);
  color: #fff;
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.admin-header h1 { font-size: 18px; font-weight: 700; }
.admin-header a { color: var(--accent); font-size: 14px; }
.admin-content { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.admin-stat {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.admin-stat .num { font-size: 2.2rem; font-weight: 900; color: var(--accent); }
.admin-stat .label { font-size: 13px; color: var(--text-light); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

.admin-table-wrap {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-gray);
}
.admin-table tr:hover td { background: var(--bg-light); }
.admin-table .name { font-weight: 600; color: var(--text-dark); }
.admin-table .actions { display: flex; gap: 8px; }
.admin-btn {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.admin-btn-view { background: #ebf8ff; color: #2b6cb0; }
.admin-btn-view:hover { background: #bee3f8; }
.admin-btn-delete { background: #fed7d7; color: #9b2c2c; }
.admin-btn-delete:hover { background: #feb2b2; }

.admin-detail {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 30px;
  margin-bottom: 20px;
}
.admin-detail h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.admin-detail-item label { font-size: 12px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 4px; }
.admin-detail-item p { font-size: 15px; color: var(--text-dark); }
.admin-detail-message {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  white-space: pre-wrap;
}
.admin-empty { text-align: center; padding: 60px 20px; color: var(--text-light); }
.admin-back { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 20px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .why-wrap { grid-template-columns: 1fr; gap: 40px; }
  .quote-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quality-steps { grid-template-columns: repeat(3, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .site-header { padding: 12px 0; }
  .logo-text { font-size: 15px; }
  .main-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .main-nav a { padding: 6px 10px; font-size: 13px; }
  .header-whatsapp { display: none; }
  .hero-slider { height: 70vh; min-height: 440px; }
  .slide-content h1 { font-size: 2rem; }
  .slide-content p { font-size: 1rem; }
  .slider-arrow { display: none; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .advantages-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
  .quality-steps { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .quote-form-card, .contact-form-card, .contact-info-card { padding: 28px 24px; }
  .page-hero { padding: 50px 0; }
  .page-hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-table-wrap { overflow-x: auto; }
  .admin-table { min-width: 700px; }
  .float-whatsapp { width: 52px; height: 52px; font-size: 24px; bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .quality-steps { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
}

/* ========== TESTIMONIALS SLIDER (OVERRIDE) ========== */
.testimonials-grid { display: none !important; }
.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}
.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonials-track .testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  margin: 0 10px;
  box-sizing: border-box;
  background: #fff;
  padding: 36px 32px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: relative;
  transition: all 0.3s ease;
}
.testimonials-track .testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0a1628;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.testimonial-arrow:hover { background: #0a1628; color: #c9a961; border-color: #0a1628; }
.testimonial-arrow.prev { left: 0; }
.testimonial-arrow.next { right: 0; }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.testimonial-dots .dot:hover { background: #c9a961; }
.testimonial-dots .dot.active { background: #c9a961; width: 32px; border-radius: 6px; }
@media (max-width: 1024px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}
@media (max-width: 768px) {
  .testimonials-slider { padding: 0 30px; }
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
  .testimonial-arrow { width: 36px; height: 36px; font-size: 20px; }
}
