/* =============================================
   POWERTECH MACHINERY — STYLESHEET
   Industrial · Professional · Modern
   ============================================= */

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2d45;
  --navy-light: #243b55;
  --accent: #e8960c;
  --accent-light: #f5a623;
  --accent-pale: rgba(232, 150, 12, 0.12);
  --steel: #4a5568;
  --steel-light: #718096;
  --mist: #a0aec0;
  --off-white: #f7f9fc;
  --white: #ffffff;
  --border: rgba(255,255,255,0.08);
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Arial', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ========== LAYOUT ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.page { display: none; }
.page.active { display: block; animation: fadeUp 0.4s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.logo-icon {
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-text {
  line-height: 1.1;
}

.logo-primary {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-accent {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: 2px;
}

.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--mist);
  font-weight: 500;
  text-transform: uppercase;
}

.search-wrap {
  flex: 1;
  position: relative;
  max-width: 580px;
}

.search-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 10px 50px 10px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.search-input::placeholder { color: var(--mist); }

.search-input:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 150, 12, 0.2);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover { background: var(--accent-light); transform: translateY(-50%) scale(1.05); }

.autocomplete-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  z-index: 200;
  border: 1px solid var(--border-light);
}

.autocomplete-box.open { display: block; }

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}

.autocomplete-item:hover { background: var(--off-white); }

.autocomplete-item .item-cat {
  font-size: 0.75rem;
  color: var(--steel-light);
  margin-left: auto;
  background: var(--off-white);
  padding: 2px 8px;
  border-radius: 50px;
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.call-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 150, 12, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
}

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

.mobile-menu a {
  color: var(--mist);
  padding: 12px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:hover, .mobile-menu a:last-child { color: var(--white); }
.mobile-menu a:last-child { border: none; }

.mobile-call {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 140px 80px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(232,150,12,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,150,12,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,150,12,0.15) 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,150,12,0.12);
  border: 1px solid rgba(232,150,12,0.3);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

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

.hero-sub {
  color: var(--mist);
  font-size: 1.1rem;
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 150, 12, 0.5);
}

.btn-primary.full-width { width: 100%; text-align: center; display: block; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--mist);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-visual { position: relative; z-index: 1; }

.hero-machine-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(232,150,12,0.2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.machine-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.machine-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f9fc;
  transition: transform 0.6s ease;
}

.hero-machine-card:hover .machine-img-wrap img { transform: scale(1.03); }

.machine-badge-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 12px;
  border-radius: 50px;
}
/* ========== HERO SLIDESHOW ========== */
.hero-slideshow {
  position: relative;
  overflow: hidden;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d1b2a;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slideshow .slide.active {
  opacity: 1;
  position: relative;
}

.slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

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

.slide-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

/* ========== SECTION HEADERS ========== */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.flex-between { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  line-height: 1;
  letter-spacing: 1px;
}

.section-sub {
  color: var(--steel);
  margin-top: 12px;
  font-size: 1rem;
}

/* ========== CATEGORIES ========== */
.categories-section { background: var(--off-white); }

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

.cat-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  group: true;
}

.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.cat-card:hover::before { transform: scaleX(1); }

.cat-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--accent-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: var(--transition);
}

.cat-card:hover .cat-icon-wrap {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}

.cat-icon-wrap svg { width: 36px; height: 36px; }

.cat-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.cat-desc {
  font-size: 0.85rem;
  color: var(--steel);
  line-height: 1.5;
}

.cat-count {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-pale);
  padding: 2px 10px;
  border-radius: 50px;
  margin-top: 8px;
}

.cat-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
  font-weight: 700;
}

.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ========== CAROUSEL ========== */
.featured-section { background: var(--navy); overflow: hidden; }
.featured-section .section-title { color: var(--white); }
.featured-section .section-label { color: var(--accent); }

.carousel-controls { display: flex; gap: 8px; }

.carousel-btn {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

.carousel-outer {
  overflow: hidden;
  padding: 20px 0 32px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 0 80px;
}

.product-card {
  flex-shrink: 0;
  width: 280px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.product-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f7f9fc;
  transition: transform 0.4s ease;
}

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

.card-img-wrap { overflow: hidden; position: relative; }

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 50px;
}

.card-body { padding: 20px; }

.card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ========== GRID PRODUCTS (Light) ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card-light {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

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

.product-card-light .card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f7f9fc;
  transition: transform 0.4s ease;
}

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

.product-card-light .card-img-wrap { overflow: hidden; position: relative; }

.product-card-light .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 50px;
}

.product-card-light .card-body { padding: 20px; }

.product-card-light .card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-card-light .card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-card-light .card-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

/* ========== TESTIMONIALS ========== */
.testimonials-section { background: var(--off-white); }

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.featured-testimonial {
  background: var(--navy);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.featured-testimonial p { color: rgba(255,255,255,0.85); }

.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; }

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--steel);
  margin-bottom: 20px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.featured-testimonial .testimonial-author strong { color: var(--white); }

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--steel-light);
}

.featured-testimonial .testimonial-author span { color: var(--mist); }

/* ========== MAP ========== */
.map-section { background: var(--white); padding-bottom: 0; }

.map-wrapper {
  position: relative;
  margin-top: 40px;
}

.map-wrapper iframe {
  display: block;
  filter: grayscale(30%);
}

.map-info-card {
  position: absolute;
  bottom: 32px;
  left: 40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 320px;
  border-left: 4px solid var(--accent);
}

.map-info-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }

.map-info-card strong { display: block; font-size: 1rem; margin-bottom: 6px; color: var(--navy); }

.map-info-card p { font-size: 0.85rem; color: var(--steel); line-height: 1.6; }

.map-call {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

/* ========== INQUIRY FORM ========== */
.inquiry-section { background: var(--off-white); }

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.inquiry-left p {
  color: var(--steel);
  margin-top: 16px;
  margin-bottom: 28px;
  line-height: 1.7;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--navy);
}
.contact-item span:first-child { font-size: 1.2rem; }

.inquiry-form {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 150, 12, 0.15);
  background: var(--white);
}

.form-group textarea { resize: vertical; }

/* ========== FOOTER ========== */
.footer { background: var(--navy); color: var(--mist); }

.footer-top { padding: 64px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--mist);
  margin-bottom: 24px;
  max-width: 300px;
}

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

.social-link {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.social-link.whatsapp:hover { background: #25D366; border-color: #25D366; color: white; transform: translateY(-2px); }
.social-link.facebook:hover { background: #1877F2; border-color: #1877F2; color: white; transform: translateY(-2px); }
.social-link.instagram:hover { background: #E1306C; border-color: #E1306C; color: white; transform: translateY(-2px); }
.social-link.tiktok:hover { background: #000; border-color: #000;  color: white;  transform: translateY(-2px); }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--mist);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }

.footer-contact p {
  font-size: 0.85rem;
  line-height: 1.6;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(160,174,192,0.6);
}

/* ========== CATEGORY PAGE ========== */
.page-hero {
  background: var(--navy);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(232,150,12,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,150,12,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
}

.page-hero p {
  color: var(--mist);
  font-size: 1.05rem;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: 16px;
  position: relative;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

.cat-page-body { padding: 48px 0 80px; }

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

.results-count {
  font-size: 0.9rem;
  color: var(--steel);
}

.sort-filter select {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--navy);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.sort-filter select:focus { border-color: var(--accent); }

/* ========== PRODUCT PAGE ========== */
.product-page-body { padding: 120px 0 80px; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

.product-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.product-img-main img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  background: #f7f9fc;
}

.prod-cat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  background: var(--accent-pale);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.prod-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.prod-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.prod-desc {
  color: var(--steel);
  line-height: 1.8;
  font-size: 0.97rem;
  margin-bottom: 24px;
}

.prod-specs {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-label { color: var(--steel); font-weight: 500; }
.spec-val { color: var(--navy); font-weight: 600; }

.prod-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  flex: 1;
  justify-content: center;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  flex: 1;
  justify-content: center;
  transition: var(--transition);
}

.btn-call:hover {
  background: var(--navy-mid);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.prod-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-item {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--steel);
  background: var(--off-white);
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
}

.related-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--white);
  transition: var(--transition);
  animation: float-pulse 3s infinite;
}

@keyframes float-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { transform: scale(1.06); box-shadow: 0 8px 32px rgba(37,211,102,0.7); }
}

.whatsapp-float:hover {
  transform: scale(1.12) !important;
  animation: none;
  box-shadow: 0 10px 40px rgba(37,211,102,0.7);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show { opacity: 1; transform: translateY(0); }

/* ========== BACK BUTTON ========== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 8px;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
}

.back-btn:hover {
  background: rgba(232,150,12,0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(-3px);
}

.back-btn svg { transition: transform 0.2s ease; }
.back-btn:hover svg { transform: translateX(-3px); }

.back-btn-dark {
  background: var(--off-white);
  border-color: var(--border-light);
  color: var(--navy);
  margin-bottom: 24px;
}

.back-btn-dark:hover {
  background: var(--accent-pale);
  border-color: var(--accent);
  color: var(--accent);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .hero { padding: 120px 40px 60px; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 120px 24px 60px; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { max-width: 100%; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .featured-testimonial { transform: none; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-layout { grid-template-columns: 1fr; }
  .carousel-track { padding: 0 24px; }
}

@media (max-width: 768px) {
  .call-btn span { display: none; }
  .call-btn { padding: 10px 14px; }
  .search-wrap { display: none; }
  .hamburger { display: flex; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .map-info-card { position: relative; margin: -1px; left: auto; bottom: auto; max-width: 100%; border-radius: 0; border-left: none; border-top: 4px solid var(--accent); box-shadow: none; }
  .section { padding: 56px 0; }
  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 24px; }
  .product-img-main img { height: 300px; }
  .prod-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { padding: 110px 20px 50px; }
  .hero-title { font-size: 3rem; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-icon-wrap { width: 48px; height: 48px; }
  .cat-icon-wrap svg { width: 28px; height: 28px; }
  .nav-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
}
