:root {
  --primary: #0A2540;
  --accent: #0FB9B1;
  --bg: #F6F8FB;
  --border: #E5E7EB;
  --text: #1F2937;
  --muted: #6B7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ================= NAV (glass, sticky, mobile drawer) ================= */
#mainNav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: transparent;
  backdrop-filter: blur(0px);
  transition: all .35s ease;
  z-index: 9999;
}

#mainNav.scrolled {
  background: radial-gradient(circle at 0 0, rgba(70, 155, 191, 0.25), transparent 55%),
  #1c3654;
  backdrop-filter: blur(14px);
  padding: 10px 48px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 700;
}

.logo img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7);
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .4px;
  font-size: 13.5px;
  position: relative;
  transition: .25s;
}

.nav-links a:hover {
  color: #FFD166;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  transition: .3s;
}

/* mobile drawer */
@media (max-width: 900px) {
  #mainNav {
    padding: 14px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -260px;
    width: 240px;
    height: 100vh;
    background: rgba(170, 132, 54, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 100px 24px;
    gap: 22px;
    transition: right .3s ease;
  }

  .nav-links.open {
    right: 0;
  }
}

/* ================= HERO (true full-bleed) ================= */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  background:
    linear-gradient(rgba(176, 150, 88, 0.75), rgba(41, 51, 74, 0.75)),
    url("../assets/images/hero-cargo-air.png");
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-family: Montserrat, sans-serif;
  font-size: 46px;
  font-weight: 700;
}

.hero p {
  margin-top: 14px;
}

.btn {
  margin-top: 24px;
  background: var(--accent);
  border: none;
  padding: 14px 32px;
  color: white;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

/* ================= CIRCULAR STACK SLIDER (from v1) ================= */
.slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 340px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

/* tighten spacing between heading and slider */
#products h2 {
  margin-bottom: 0;
}

.slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, .05) 2px, transparent 2px),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, .05) 2px, transparent 2px);
  background-size: 140px 140px;
}

.stage {
  position: relative;
  width: min(1100px, 90vw);
  height: 200px;
  margin: auto;
}

.card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 260px;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
  transform: translateX(-50%);
  transition:
    transform 1.4s cubic-bezier(.22, .61, .36, 1),
    opacity 1.4s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos0 {
  transform: translateX(calc(-50% - 520px)) scale(.65);
  opacity: .12;
  z-index: 1;
}

.pos1 {
  transform: translateX(calc(-50% - 360px)) scale(.8);
  opacity: .3;
  z-index: 2;
}

.pos2 {
  transform: translateX(calc(-50% - 200px)) scale(.95);
  opacity: .6;
  z-index: 3;
}

.pos3 {
  transform: translateX(-50%) scale(1.45);
  opacity: 1;
  z-index: 6;
}

.pos4 {
  transform: translateX(calc(-50% + 200px)) scale(.95);
  opacity: .6;
  z-index: 3;
}

.pos5 {
  transform: translateX(calc(-50% + 360px)) scale(.8);
  opacity: .3;
  z-index: 2;
}

.pos6 {
  transform: translateX(calc(-50% + 520px)) scale(.65);
  opacity: .12;
  z-index: 1;
}

/* ================= CORE SECTIONS (from full page) ================= */
section {
  max-width: 1400px;
  margin: auto;
  padding: 44px 20px 40px;
}

h2 {
  position: relative;
  text-align: center;
  margin-bottom: 28px;
  color: var(--primary);
  font-family: Montserrat, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0 26px;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .categories-grid .category-card:last-child:nth-child(odd) {
    grid-column: span 2;
    max-width: 720px;
    width: 100%;
    justify-self: center;
  }
}

.categories-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.categories-animate[data-reveal="stagger"] > .categories-intro {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.categories-animate[data-reveal="stagger"].is-inview > .categories-intro {
  opacity: 1;
  transform: translateY(0);
}

.categories-animate[data-reveal="stagger"] .categories-grid > .category-card {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.categories-animate[data-reveal="stagger"].is-inview .categories-grid > .category-card {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal]:not([data-reveal="stagger"]) {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-reveal]:not([data-reveal="stagger"]).is-inview {
  opacity: 1;
  transform: translateY(0);
}

.category-showcase h2 {
  margin-bottom: 22px;
}

.category-showcase-panel {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.category-showcase-panel.reverse {
  flex-direction: row-reverse;
}

.category-showcase-media {
  flex: 1;
  min-height: 240px;
  max-height: 420px;
}

.category-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-showcase-body {
  flex: 1;
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.category-showcase-body h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.22rem;
  color: var(--primary);
  font-weight: 700;
}

.category-showcase-body > p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

.category-highlights {
  margin: 6px 0 8px;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.category-highlights li {
  margin-bottom: 7px;
}

.category-highlights li::marker {
  color: var(--accent);
}

.category-distribution-note {
  padding: 14px 14px 14px 16px;
  margin: 4px 0 2px;
  border-left: 3px solid rgba(15, 185, 177, 0.85);
  border-radius: 4px;
  background: rgba(15, 185, 177, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.category-cta {
  align-self: flex-start;
  margin-top: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.category-cta:hover {
  background: #0da89f;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 185, 177, 0.35);
}

.alt {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  align-items: stretch;
}

.alt.reverse {
  flex-direction: row-reverse;
}

.alt img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text {
  color: var(--muted);
  line-height: 1.7;
  padding: 18px 18px 22px;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 22px auto 0;
  padding-left: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(15, 185, 177, 0.1), rgba(15, 185, 177, 0.6));
}

.process-item {
  position: relative;
  margin-left: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 14px 18px 16px 52px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.process-step {
  position: absolute;
  left: -6px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #0FB9B1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(15, 185, 177, 0.45);
}

.process-title {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.98rem;
}

.process-copy {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.cert-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.cert-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #0FB9B1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 22px rgba(15, 185, 177, 0.35);
}

.cert-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cert-acronym {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.cert-label {
  font-size: 0.82rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

/* ================= CONTACT ================= */
.contact-wrap {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 26px;
  align-items: stretch;
}

.contact-panel {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-left {
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 55%),
    #0A2540;
  color: #E5E7EB;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.contact-left h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #F9FAFB;
}

.contact-left p {
  font-size: 0.9rem;
  color: #CBD5F5;
  line-height: 1.6;
}

.contact-meta {
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
}

.contact-meta-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.contact-meta-label {
  font-weight: 600;
  color: #E5E7EB;
  min-width: 48px;
}

.contact-meta-values {
  line-height: 1.55;
}

.contact-left a {
  color: #E5E7EB;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.55);
}

.contact-left a:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.contact-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.contact-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.78rem;
  color: #E5E7EB;
  background: rgba(15, 23, 42, 0.4);
}

.contact-right {
  padding: 22px 22px 20px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-right label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2px;
  display: block;
}

.contact-right input,
.contact-right textarea {
  background: #F9FAFB;
}

.contact-right textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-hint {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

footer {
  text-align: center;
  padding: 30px 20px 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.photo-credit {
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.photo-credit a {
  color: var(--accent);
  text-decoration: none;
}

.photo-credit a:hover {
  text-decoration: underline;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 14px 16px;
  border-radius: 50%;
  text-decoration: none;
}

/* ================= RESPONSIVE TWEAKS ================= */
@media (max-width: 900px) {
  section {
    padding: 28px max(20px, env(safe-area-inset-left)) 34px max(20px, env(safe-area-inset-right));
    box-sizing: border-box;
  }

  .hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 1.4rem;
    letter-spacing: 0.06em;
  }

  /* Space between hero and flowing sections (carousel sits tight under hero title area) */
  .hero {
    margin-bottom: 6px;
  }

  #products .slider {
    position: relative;
    z-index: 0;
    padding-bottom: 16px;
    margin-bottom: 4px;
  }

  /* Keep stacked showcases above any carousel painting quirks */
  #cashews,
  #housekeeping {
    position: relative;
    z-index: 1;
    isolation: isolate;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .alt,
  .alt.reverse {
    flex-direction: column;
  }

  .alt img {
    width: 100%;
    height: 220px;
  }

  .text {
    width: 100%;
  }

  .category-showcase-panel,
  .category-showcase-panel.reverse {
    flex-direction: column;
    align-items: stretch;
  }

  /* Fixed-height media + separate text block stops body flex shrink/overlap on narrow screens */
  .category-showcase-media {
    flex: 0 0 auto;
    width: 100%;
    max-height: none;
    min-height: 0;
    height: clamp(176px, 42vw, 228px);
    overflow: hidden;
  }

  .category-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .category-showcase-body {
    flex: 0 1 auto;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: 0;
    padding: 16px 16px 20px;
    background: #fff;
    border-top: 1px solid var(--border);
  }

  .category-showcase-body h3 {
    font-size: 1.06rem;
    line-height: 1.35;
  }

  .category-showcase-body > p,
  .category-distribution-note {
    font-size: 0.875rem;
    line-height: 1.58;
  }

  .category-highlights {
    font-size: 0.84rem;
  }

  .category-cta {
    font-size: 0.82rem;
    padding: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .categories-animate[data-reveal="stagger"] > .categories-intro,
  .categories-animate[data-reveal="stagger"] .categories-grid > .category-card,
  [data-reveal]:not([data-reveal="stagger"]) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .categories-animate[data-reveal="stagger"].is-inview .categories-grid > .category-card {
    transition-delay: 0s !important;
  }

  .category-cta:hover {
    transform: none;
  }
}

@media (min-width: 1400px) {
  section {
    max-width: 1600px;
    padding-left: 80px;
    padding-right: 80px;
  }

  .hero h1 {
    font-size: 56px;
  }
}
  
