/* ===========================
   ChromaPack — Global Styles
   =========================== */

:root {
  --navy: #1a2744;
  --navy-dark: #0f1a2e;
  --cyan: #00b4d8;
  --cyan-light: #90e0ef;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-500: #adb5bd;
  --gray-700: #495057;
  --gray-900: #212529;
  --whatsapp: #25d366;
  --font: 'Inter', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.bg-light { background: var(--gray-50); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-primary { background: var(--cyan); color: var(--navy-dark); }
.btn-primary:hover { background: var(--cyan-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,180,216,0.35); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--navy);
  color: var(--cyan-light);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
}
.announcement-bar a { color: var(--cyan); font-weight: 700; margin-left: 4px; }
.announcement-bar a:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}
.logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gray-700);
  white-space: nowrap;
  transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--navy); background: var(--gray-100); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--navy); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,46,0.92) 0%, rgba(26,39,68,0.80) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 80px 24px;
  max-width: 760px;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,180,216,0.2);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-content h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--cyan); }
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--cyan); }
.stat span { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ===== CERT BAR ===== */
.cert-bar {
  background: var(--navy);
  padding: 20px 0;
}
.cert-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cert-label { color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cert-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.cert-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cyan-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 36px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,180,216,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cyan);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--gray-700); line-height: 1.65; }

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 32px;
}
.category-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.category-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover .category-img img { transform: scale(1.05); }
.category-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,26,46,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.category-card:hover .category-overlay { opacity: 1; }
.category-body { padding: 28px; }
.category-body h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.category-body p { font-size: 15px; color: var(--gray-700); margin-bottom: 16px; line-height: 1.65; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-list li {
  background: var(--gray-100);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gray-200);
}
.step-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--cyan);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--gray-700); line-height: 1.65; }
.step-arrow {
  display: flex;
  align-items: center;
  color: var(--cyan);
  font-size: 22px;
  padding-top: 40px;
  flex-shrink: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #243966 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-content h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 40px;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-certs { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-certs span {
  background: rgba(255,255,255,0.08);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan-light);
}
.footer-links h4, .footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-contact i { color: var(--cyan); margin-top: 2px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--cyan); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.55); }

/* ===== PRODUCTS PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243966 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 14px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }

.category-section { padding: 80px 0; }
.category-section:nth-child(even) { background: var(--gray-50); }
.category-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.category-section-header h2 { font-size: 32px; font-weight: 800; color: var(--navy); }
.category-section-header p { font-size: 15px; color: var(--gray-700); max-width: 480px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--cyan); }
.product-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product-card-body p { font-size: 13px; color: var(--gray-700); margin-bottom: 14px; line-height: 1.6; }
.product-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.product-meta .moq { background: var(--gray-100); padding: 4px 10px; border-radius: 6px; font-weight: 600; color: var(--navy); }
.product-meta .inquire { color: var(--cyan); font-weight: 600; }
.product-meta .inquire:hover { text-decoration: underline; }

/* ===== ABOUT PAGE ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-intro img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-intro-text h2 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-intro-text p { font-size: 16px; color: var(--gray-700); line-height: 1.75; margin-bottom: 16px; }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  margin: 64px 0;
}
.stats-bar .stat-item {
  background: var(--white);
  padding: 32px 20px;
  text-align: center;
}
.stat-item strong { display: block; font-size: 36px; font-weight: 900; color: var(--navy); }
.stat-item span { font-size: 13px; color: var(--gray-700); }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.cert-card i { font-size: 36px; color: var(--cyan); margin-bottom: 14px; }
.cert-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: var(--gray-700); }

/* ===== CONTACT PAGE ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: flex-start; }
.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--gray-700); margin-bottom: 32px; line-height: 1.7; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,180,216,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-item-text p, .contact-item-text a { font-size: 15px; color: var(--gray-700); }
.contact-item-text a:hover { color: var(--cyan); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 16px; font-size: 16px; }
.form-note { font-size: 12px; color: var(--gray-500); margin-top: 12px; text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; border-bottom: 1px solid var(--gray-200); padding: 16px 24px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header .btn-primary { display: none; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 22px; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cert-bar .container { flex-direction: column; align-items: flex-start; }
  .category-section-header { flex-direction: column; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-content { padding: 60px 24px; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
