/* ==========================================================================
   HM VINA TRADING CO., LTD — LANDING PAGE STYLESHEET
   B2B Export/Import — Vietnamese Agriculture, Seafood & Australian Frozen Meat
   Version: 2.0 | Target: Cloudflare Pages / GitHub Pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --gold-light: #f0c040;
  --gold-main: #c9a227;
  --gold-dark: #8b6914;
  --navy-deepest: #050d1a;
  --navy-deep: #0a1628;
  --navy-mid: #0d1f3c;
  --navy-light: #1a3055;
  --navy-accent: #1e3a5f;
  --ocean-blue: #1565c0;
  --teal-accent: #00897b;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --light-gray: #f2f2f2;
  --mid-gray: #888;
  --dark-gray: #333;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-light: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.55);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Courier New', monospace;

  /* Spacing */
  --section-py: clamp(60px, 8vw, 110px);
  --container-max: 1280px;
  --container-padding: clamp(16px, 4vw, 60px);

  /* Effects */
  --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.35);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.22);
  --border-gold: 1px solid rgba(201, 162, 39, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 14px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold-main);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}
.section-subtitle--light { color: var(--text-light); }

.text-gold { color: var(--gold-main); }

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

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-main) 60%, var(--gold-dark) 100%);
  color: var(--navy-deepest);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.55);
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold-main);
  color: var(--gold-main);
}
.btn-outline-gold:hover {
  background: var(--gold-main);
  color: var(--navy-deepest);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   6. HEADER / NAVBAR
   -------------------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-padding);
  transition: var(--transition);
  background: transparent;
}

#header.scrolled {
  background: rgba(5, 13, 26, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}
.nav-logo-text .brand-tagline {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold-main);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { transform: scaleX(1); }

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

.nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #25d366;
  padding: 8px 14px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 50px;
  transition: var(--transition);
}
.nav-whatsapp:hover { background: rgba(37, 211, 102, 0.1); }
.nav-whatsapp svg { width: 16px; height: 16px; fill: #25d366; }

.nav-quote-btn {
  font-size: 0.82rem;
  padding: 10px 22px;
  border-radius: 50px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--navy-deepest);
  padding: 20px var(--container-padding) 30px;
  flex-direction: column;
  gap: 6px;
  z-index: 999;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 10px; }

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 13, 26, 0.88) 0%,
    rgba(10, 22, 40, 0.72) 50%,
    rgba(5, 13, 26, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 110px var(--container-padding) 60px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease 0.2s both;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 760px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-title .highlight {
  color: var(--gold-light);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
  animation: fadeInUp 0.8s ease 0.7s both;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 5px 14px;
}
.hero-pill .check {
  color: #4caf50;
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.8s ease 0.85s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeInUp 0.8s ease 1s both;
}
.hero-stat-item { text-align: left; }
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
@media (max-height: 820px) {
  .scroll-indicator { display: none; }
}
.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}
.scroll-mouse::after {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--gold-main);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: scrollDown 1.8s infinite;
}

/* --------------------------------------------------------------------------
   8. TRUST BAR (Quick Credibility Strip)
   -------------------------------------------------------------------------- */
#trust-bar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 18px 0;
}
.trust-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-row .trust-item:last-child { border-right: none; }
.trust-item svg {
  color: var(--gold-main);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   9. WHY CHOOSE US — CORE COMPETENCIES
   -------------------------------------------------------------------------- */
#why-us {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

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

.competency-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.competency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-main));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.competency-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}
.competency-card:hover::before { transform: scaleX(1); }

.competency-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,162,39,0.12), rgba(201,162,39,0.05));
  border: 1.5px solid rgba(201, 162, 39, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.9rem;
  transition: var(--transition);
}
.competency-card:hover .competency-icon {
  background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
}

.competency-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.competency-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. PRODUCT CATEGORIES
   -------------------------------------------------------------------------- */
#products {
  padding: var(--section-py) 0;
  background: var(--white);
}

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

.product-category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.product-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-category-card:hover img { transform: scale(1.06); }

.product-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,13,26,0.88) 0%, rgba(5,13,26,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: var(--transition);
}

.product-category-tag {
  display: inline-block;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
  width: fit-content;
}

.product-category-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.product-category-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.product-category-card:hover .product-category-meta {
  opacity: 1;
  transform: translateY(0);
}

.product-category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition) 0.05s;
}
.product-category-btn svg { width: 16px; height: 16px; }
.product-category-card:hover .product-category-btn {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   11. FEATURED PRODUCTS (B2B Spec Cards)
   -------------------------------------------------------------------------- */
#featured {
  padding: var(--section-py) 0;
  background: var(--navy-deep);
  position: relative;
}
#featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.spec-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.spec-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,162,39,0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.spec-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.spec-card:hover .spec-card-img { transform: scale(1.04); }

.spec-card-body {
  padding: 22px 24px 24px;
}

.spec-card-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 8px;
}

.spec-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
.spec-table tr td {
  padding: 5px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child {
  color: rgba(255,255,255,0.45);
  width: 42%;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.spec-table td:last-child {
  color: var(--text-light);
  font-weight: 500;
}

.spec-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.spec-origin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.spec-origin img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.spec-inquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 50px;
  transition: var(--transition);
}
.spec-inquire-btn:hover {
  background: var(--gold-main);
  color: var(--navy-deepest);
  border-color: var(--gold-main);
}
.spec-inquire-btn svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   12. CERTIFICATIONS & QUALITY
   -------------------------------------------------------------------------- */
#certifications {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

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

.cert-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cert-image-wrapper img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.cert-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--navy-deep);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: center;
}
.cert-image-badge .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.cert-image-badge .label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.cert-item:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateX(6px);
}
.cert-item-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.cert-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-deep);
  margin-bottom: 3px;
}
.cert-item-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   13. LOGISTICS & SUPPLY CHAIN
   -------------------------------------------------------------------------- */
#logistics {
  padding: var(--section-py) 0;
  background: var(--navy-deepest);
  position: relative;
  overflow: hidden;
}

.logistics-bg-img {
  position: absolute;
  inset: 0;
}
.logistics-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

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

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

.logistics-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.logistics-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.logistics-step:last-child { border-bottom: none; }
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deepest);
  flex-shrink: 0;
}
.step-content {}
.step-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  font-size: 0.95rem;
}
.step-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.incoterms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.incoterm-badge {
  text-align: center;
  padding: 14px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.06em;
}
.incoterm-badge span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   14. GLOBAL REACH
   -------------------------------------------------------------------------- */
#global-reach {
  padding: var(--section-py) 0;
  background: var(--white);
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.market-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  cursor: default;
}
.market-card:hover {
  background: var(--navy-deep);
  border-color: var(--navy-mid);
  transform: translateY(-4px);
}
.market-flag { font-size: 2.2rem; margin-bottom: 10px; }
.market-flag-img {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  margin: 0 auto 10px;
  display: block;
}
.market-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 4px;
  transition: var(--transition);
}
.market-card:hover .market-name { color: var(--gold-light); }
.market-label {
  font-size: 0.7rem;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
}
.market-card:hover .market-label { color: rgba(255,255,255,0.45); }

/* --------------------------------------------------------------------------
   15. RFQ SECTION
   -------------------------------------------------------------------------- */
#rfq {
  padding: var(--section-py) 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
#rfq::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.rfq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}

.rfq-trust-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.25;
}

.rfq-promises {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.rfq-promise {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.rfq-promise-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.rfq-promise-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 2px;
}
.rfq-promise-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.rfq-contacts {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.rfq-contact-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 14px;
}
.rfq-contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rfq-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: var(--transition);
}
.rfq-contact-link:hover { color: var(--gold-light); }
.rfq-contact-link svg { width: 18px; height: 18px; color: var(--gold-main); flex-shrink: 0; }

/* RFQ Form */
.rfq-form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.rfq-form-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

.form-control {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-control::placeholder { color: rgba(255,255,255,0.28); }
.form-control:focus {
  outline: none;
  border-color: var(--gold-main);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.4)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
  background-color: rgba(255,255,255,0.06);
}
select.form-control option { background: var(--navy-mid); color: var(--white); }
textarea.form-control { resize: vertical; min-height: 100px; }

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

.form-note {
  text-align: center;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { color: var(--white); font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   16. NEWS SECTION
   -------------------------------------------------------------------------- */
#news {
  padding: var(--section-py) 0;
  background: var(--white);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img { transform: scale(1.04); }
.news-body { padding: 24px; }
.news-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 10px;
}
.news-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
#footer {
  background: var(--navy-deepest);
  padding: 70px 0 0;
  border-top: 1px solid rgba(201,162,39,0.15);
}

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

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-brand-logo img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; }
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}
.footer-brand-tagline {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}
.footer-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-bottom: 22px;
}
.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-cert-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-deepest);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  border-radius: 4px;
  padding: 4px 10px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-link:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-main);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social-link:hover {
  background: var(--gold-main);
  border-color: var(--gold-main);
  color: var(--navy-deepest);
  transform: translateY(-3px);
}
.footer-social-link svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   18. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.78rem;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: 1px solid rgba(201,162,39,0.2);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* --------------------------------------------------------------------------
   19. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes scrollDown {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}
@keyframes counterUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.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; }

/* --------------------------------------------------------------------------
   20. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .competencies-grid { grid-template-columns: repeat(2, 1fr); }
  .markets-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-cta .nav-whatsapp { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 24px; }
  .cert-layout { grid-template-columns: 1fr; }
  .logistics-grid { grid-template-columns: 1fr; }
  .rfq-layout { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { flex-direction: column; width: 100%; gap: 0; }
  .trust-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; justify-content: center; padding: 10px 0; }
  .trust-row:last-child .trust-item:last-child { border-bottom: none; }
}

@media (max-width: 650px) {
  :root { --section-py: 60px; }
  .products-grid { grid-template-columns: 1fr; }
  .competencies-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .incoterms-grid { grid-template-columns: repeat(3, 1fr); }
  .rfq-form-wrapper { padding: 24px 20px; }
}
