﻿/* ============================================================
   MERCUMEX GLOBAL — Premium Corporate CSS
   Archetype: Editorial Dark Warm
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --dark:          #070f0b;
  --primary:       #0d2b1e;
  --primary-mid:   #174735;
  --primary-light: #1e6144;
  --gold:          #c9a84c;
  --gold-light:    #e8c96e;
  --gold-dim:      rgba(201,168,76,0.18);
  --orange:        #d4743a;
  --white:         #ffffff;
  --off-white:     #f8faf8;
  --light-bg:      #f1f5f2;
  --text-dark:     #0d1f17;
  --text-mid:      #3d5a47;
  --text-muted:    #7a9082;
  --border:        rgba(201,168,76,0.22);
  --border-light:  rgba(255,255,255,0.09);

  --font-h:  'Playfair Display', Georgia, serif;
  --font-b:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-out:   cubic-bezier(0,.55,.45,1);
  --dur:        .38s;
  --dur-slow:   .65s;

  --shadow-sm:  0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.18);
  --shadow-gold: 0 8px 32px rgba(201,168,76,.25);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
img { display:block; max-width:100%; height:auto; }
a  { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
select, input, textarea {
  font-family: var(--font-b);
  font-size: 1rem;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.section {
  padding-block: clamp(72px, 10vw, 120px);
}

/* ── Typography helpers ─────────────────────────────────────── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.sec-label::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.sec-label.light { color: var(--gold-light); }
.sec-label.light::before { background: var(--gold-light); }

.sec-title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 1.4rem;
}
.sec-title em {
  font-style: italic;
  color: var(--primary-light);
  font-weight: 400;
}
.sec-title.light { color: var(--white); }
.sec-title.light em { color: var(--gold); }

.sec-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
}
.sec-desc.light { color: rgba(255,255,255,.65); }

.sec-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-header.centered { text-align:center; }
.sec-header.centered .sec-label { display:inline-flex; }
.sec-header.centered .sec-desc { margin-inline: auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .82rem 1.8rem;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,.45);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-nav {
  padding: .55rem 1.3rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  transition: all .3s var(--ease);
}
.btn-nav:hover {
  background: var(--gold);
  color: var(--dark);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .82rem 1.6rem;
  background: #25d366;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  font-size: .9rem;
  transition: all .3s var(--ease);
  margin-top: 1.4rem;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.btn-whatsapp i { font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn i { transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(3px); }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: background .4s var(--ease), padding .4s var(--ease),
              box-shadow .4s var(--ease), backdrop-filter .4s;
}
.navbar.scrolled {
  padding: .9rem 0;
  background: rgba(7,15,11,.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-light), 0 8px 32px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.nav-logo {
  font-family: var(--font-h);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.logo-main { color: var(--white); }
.logo-accent { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 2.2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7,15,11,.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
}
.mobile-link {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  transition: color .25s;
}
.mobile-link:hover { color: var(--gold); }
.cta-mobile {
  font-family: var(--font-b);
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--gold) !important;
  border: 1.5px solid var(--gold);
  padding: .7rem 2rem;
  border-radius: 4px;
  margin-top: .5rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 55%, rgba(30,97,68,.35) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(23,71,53,.4) 0%, transparent 55%),
    linear-gradient(140deg, #050d09 0%, #0d2b1e 55%, #060e0a 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.032) 1px, transparent 1px);
  background-size: 58px 58px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(30,97,68,.28), transparent 70%);
  top: -120px; right: 8%;
  animation: orbFloat1 9s ease-in-out infinite;
}
.orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,.12), transparent 70%);
  bottom: 20%; left: 3%;
  animation: orbFloat2 12s ease-in-out infinite;
}
.orb-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(23,71,53,.22), transparent 70%);
  top: 35%; right: -4%;
  animation: orbFloat3 15s ease-in-out infinite;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.ring-1 {
  width: 440px; height: 440px;
  right: 6%; top: 50%;
  transform: translateY(-50%);
  animation: rotateSlow 50s linear infinite;
}
.ring-2 {
  width: 660px; height: 660px;
  right: -4%; top: 50%;
  transform: translateY(-50%);
  border-color: rgba(201,168,76,.06);
  animation: rotateSlow 75s linear infinite reverse;
}
.deco-line-v {
  position: absolute;
  left: clamp(1.25rem,5vw,3rem);
  top: 28%; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: .28;
}
.deco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: .5;
}
.dot-1 { width:5px; height:5px; left: clamp(1.25rem,5vw,3rem); top:28%; margin-left:-2px; }
.dot-2 { width:4px; height:4px; left: clamp(1.25rem,5vw,3rem); bottom:20%; margin-left:-2px; }
.dot-3 { width:6px; height:6px; right:24%; top:18%; }

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-top: clamp(6rem, 14vh, 10rem);
  padding-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeSlideUp .8s var(--ease-out) .2s forwards;
}
.badge-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201,168,76,.6);
  animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  max-width: 740px;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeSlideUp .9s var(--ease-out) .45s forwards;
}
.title-line { display: block; }
.title-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,.58);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fadeSlideUp .9s var(--ease-out) .7s forwards;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp .9s var(--ease-out) .9s forwards;
}
.br-desk { display: none; }
@media (min-width:768px) { .br-desk { display:block; } }

/* Stats bar removido */
.stats-bar { display: none !important; }
.stats-grid { display: none !important; }
.stat-item { display: none !important; }
.stat-num { display: none !important; }
.stat-suf { display: none !important; }
.stat-sep { display: none !important; }
.hero-scroll-cta { display: none !important; }
.scroll-dot { display: none !important; }

/* ── Nosotros / About ─────────────────────────────────────── */
.nosotros { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: clamp(440px, 55vw, 640px);
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform .7s var(--ease);
}
.about-img-wrap:hover img { transform: scale(1.03); }

/* Mejora visual para foto de operaciones: frutas más vibrantes, tono cálido editorial */
.about-img-wrap img.about-main-img {
  filter: brightness(1.08) contrast(1.12) saturate(1.28) hue-rotate(-4deg);
}
/* Overlay dorado sutil que armoniza con la paleta MERCUMEX GLOBAL */
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(201,168,76,0.06) 0%,
    rgba(7,15,11,0.18) 60%,
    rgba(7,15,11,0.42) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}
.img-accent-border {
  position: absolute;
  inset: -10px -10px auto auto;
  width: 60%; height: 60%;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 var(--r-md) 0 0;
  pointer-events: none;
}
.about-float-card {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  box-shadow: var(--shadow-lg);
}
.about-float-card i {
  font-size: 1.4rem;
  color: var(--gold);
}
.about-float-card strong {
  display: block;
  color: var(--white);
  font-size: .85rem;
  line-height: 1.2;
}
.about-float-card span {
  display: block;
  color: var(--text-muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-years-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 82px; height: 82px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}
.years-num {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.years-text {
  font-size: .48rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
  color: rgba(7,15,11,.7);
  line-height: 1.3;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Tabs MVV */
.mvv-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
  margin-bottom: 1.4rem;
}
.mvv-tab {
  padding: .65rem 1.2rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .25s, border-color .25s;
}
.mvv-tab.active {
  color: var(--primary-light);
  border-bottom-color: var(--gold);
}
.mvv-tab:hover { color: var(--text-dark); }

.mvv-panel {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.mvv-panel i {
  font-size: 1.4rem;
  color: var(--gold);
}
.mvv-panel p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.valores-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .8rem;
}
.valores-list span {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-mid);
}
.valores-list i { color: var(--gold); font-size: .7rem; }

/* ── Productos ─────────────────────────────────────────────── */
.productos { background: var(--dark); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.products-grid-2 {
  grid-template-columns: 1.55fr 1fr;
}
.product-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Collage layout para Frutas Exóticas */
.pcard-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 360px;
  gap: 3px;
  background: var(--dark);
}
.collage-main {
  position: relative;
  overflow: hidden;
  grid-row: span 1;
}
.collage-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(1.08) contrast(1.12) saturate(1.18);
  transition: transform .65s var(--ease);
}
.product-featured:hover .collage-main img { transform: scale(1.06); }
.collage-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(7,15,11,.35) 100%);
  pointer-events: none;
}
.collage-strip {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 3px;
}
.collage-thumb {
  overflow: hidden;
  position: relative;
}
.collage-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(1.05) contrast(1.1) saturate(1.15);
  transition: transform .55s var(--ease), filter .4s;
}
.collage-thumb:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.12) saturate(1.2);
}

.pcard-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.product-card:not(.product-featured) .pcard-img {
  aspect-ratio: unset;
  height: 360px;
}
.pcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(1.05) contrast(1.08) saturate(1.12);
  transition: transform .6s var(--ease);
}
.product-card:hover .pcard-img img { transform: scale(1.05); }
.pcard-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: var(--dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .65rem;
  border-radius: 3px;
  z-index: 2;
}
.pcard-body {
  padding: 1.4rem 1.5rem 1.5rem;
}
.pcard-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.pcard-icon i {
  font-size: .95rem;
  color: var(--gold);
}
.pcard-body h3 {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.pcard-body p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.pcard-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.pcard-tags span {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--primary-light);
  background: rgba(30,97,68,.08);
  border: 1px solid rgba(30,97,68,.15);
  padding: .22rem .55rem;
  border-radius: 3px;
}

/* ── Carousel de Productos ───────────────────────────────────── */
.product-carousel-wrap {
  position: relative;
  height: 580px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(201,168,76,.15);
}
.pc-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.pc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  z-index: 0;
}
.pc-slide.active {
  opacity: 1;
  z-index: 1;
}
.pc-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(1.05) contrast(1.08) saturate(1.12);
}
.pc-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
.pc-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,15,11,0.02) 0%,
    rgba(7,15,11,0.06) 35%,
    rgba(7,15,11,0.58) 65%,
    rgba(7,15,11,0.90) 100%
  );
}
.pc-info {
  position: relative;
  padding: 0 2.5rem 1.2rem;
}
.pc-tag {
  display: inline-block;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: .26rem .65rem;
  border-radius: 3px;
  margin-bottom: .75rem;
}
.pc-name {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .65rem;
}
.pc-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.68);
  line-height: 1.72;
  max-width: 52ch;
}
.pc-footer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 2.5rem 1.7rem;
  pointer-events: auto;
}
.pc-dots { display: flex; gap: .45rem; align-items: center; }
.pc-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width .35s var(--ease), background .3s;
}
.pc-dot.active { width: 28px; background: var(--gold); }
.pc-dot:hover  { background: rgba(201,168,76,.6); }
.pc-counter {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.50);
  letter-spacing: .04em;
  margin-left: auto;
}
.pc-sep { margin: 0 .05em; }
.pc-arrows { display: flex; gap: .55rem; }
.pc-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.4);
  background: rgba(201,168,76,.08);
  color: var(--gold);
  font-size: .85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s, transform .2s;
}
.pc-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: scale(1.1);
}
.pc-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 3;
}
.pc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  width: 0%;
}

/* ── Logística ──────────────────────────────────────────────── */
.logistica {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.logistica-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 55%, rgba(23,71,53,.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(13,43,30,.5) 0%, transparent 60%),
    var(--dark);
}
.logistica .container { position: relative; z-index: 1; }

.map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
  background: rgba(13,43,30,.4);
}
.world-map {
  width: 100%;
  display: block;
}

/* Trade route animation */
.trade-route {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: drawRoute 3.5s ease forwards;
}

/* HQ triple-ring pulse */
.hq-ring-1 { animation: pulseSvg 2.4s ease-in-out infinite; }
.hq-ring-2 { animation: pulseSvg 2.4s ease-in-out infinite .7s; }
.hq-ring-3 { animation: pulseSvg 2.4s ease-in-out infinite 1.4s; }

.logistica-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.lf-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.6rem;
  transition: background .3s var(--ease), border-color .3s;
}
.lf-card:hover {
  background: rgba(201,168,76,.06);
  border-color: rgba(201,168,76,.25);
}
.lf-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.lf-icon i { font-size: 1rem; color: var(--gold); }
.lf-card h4 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .45rem;
}
.lf-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.48);
  line-height: 1.65;
}

/* ── Why Us ─────────────────────────────────────────────────── */
.why-us { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.why-card {
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur);
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,97,68,.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,.2);
}
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30,97,68,.12), rgba(201,168,76,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: background .3s;
}
.why-icon i { font-size: 1.15rem; color: var(--primary-light); }
.why-card:hover .why-icon { background: linear-gradient(135deg, var(--gold-dim), rgba(201,168,76,.08)); }
.why-card:hover .why-icon i { color: var(--gold); }
.why-card h3 {
  font-family: var(--font-h);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.why-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.why-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .4s var(--ease);
}
.why-card:hover .why-line { width: 60%; }

/* ── Galería ─────────────────────────────────────────────────── */
.galeria { background: var(--light-bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gi-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,15,11,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.gi-overlay i {
  font-size: 1.4rem;
  color: var(--white);
  transform: scale(.8);
  transition: transform .3s var(--ease);
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gallery-item:hover .gi-overlay i { transform: scale(1); }
.gi-large { grid-column: span 2; grid-row: span 2; }
.gi-tall  { grid-row: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5,10,7,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s;
}
.lightbox:not([hidden]) { opacity: 1; }
.lb-inner {
  max-width: 90vw;
  max-height: 90vh;
}
.lb-inner img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-sm);
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
  z-index: 2001;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(201,168,76,.3);
}
.lb-close { top: 1.2rem; right: 1.2rem; font-size: 1rem; }
.lb-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ── Contacto ─────────────────────────────────────────────── */
.contacto { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: .5rem;
}
.cd-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.cd-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cd-icon i { font-size: .9rem; color: var(--gold); }
.cd-item strong {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dark);
  margin-bottom: .1rem;
}
.cd-item span {
  font-size: .9rem;
  color: var(--text-muted);
}
.map-embed {
  margin-top: 1.6rem;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.09);
}
.map-embed iframe { display: block; }

/* Form */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.form-group label span { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .78rem 1rem;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--text-dark);
  font-size: .92rem;
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-legal {
  font-size: .74rem;
  color: var(--text-muted);
  text-align: center;
}
.form-success {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.1rem;
  background: rgba(37,211,102,.08);
  border: 1px solid rgba(37,211,102,.25);
  border-radius: var(--r-sm);
  font-size: .9rem;
  color: #1a8c47;
  font-weight: 500;
}
.form-success i { font-size: 1.1rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--primary); }
.footer-top { padding: clamp(3rem, 7vw, 5.5rem) 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}
.footer-brand .nav-logo { margin-bottom: 0; }
.footer-social {
  display: flex;
  gap: .7rem;
  margin-top: 1.4rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  transition: all .25s;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .87rem;
  color: rgba(255,255,255,.45);
  transition: color .25s;
}
.footer-col a:hover { color: var(--white); }
.footer-contact-list { gap: .75rem !important; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.footer-contact-list i { color: var(--gold); font-size: .85rem; margin-top: .15rem; flex-shrink:0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.2rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  transition: color .25s;
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── Floating buttons ────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 900;
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: floatIn .5s var(--ease-out) 1.5s backwards;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37,211,102,.5);
}
.back-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.8rem;
  z-index: 900;
  width: 44px; height: 44px;
  background: var(--primary-mid);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--gold);
  box-shadow: var(--shadow-md);
  transition: all .3s var(--ease);
  opacity: 0;
}
.back-top:not([hidden]) {
  opacity: 1;
  animation: none;
}
.back-top:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal[data-dir="up"]   { opacity: 0; transform: translateY(40px); }
.reveal[data-dir="left"] { opacity: 0; transform: translateX(-40px); }
.reveal[data-dir="right"]{ opacity: 0; transform: translateX(40px); }
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity:0; transform: translateY(28px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-20px,30px) scale(1.05); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(15px,-25px); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-25px,20px); }
}
@keyframes rotateSlow {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,.6); }
  50%     { box-shadow: 0 0 0 7px rgba(201,168,76,0); }
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(-3px); opacity:.5; }
  50%     { transform: translateY(3px);  opacity:1; }
}
@keyframes drawRoute {
  from { stroke-dashoffset: 600; }
  to   { stroke-dashoffset: 0; }
}
@keyframes pulseSvg {
  0%,100% { opacity:.08; transform: scale(1); }
  50%     { opacity:.2;  transform: scale(1.18); }
}
@keyframes floatIn {
  from { opacity:0; transform: scale(.7) translateY(20px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .logistica-features  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; }
  .about-visual  { max-width: 560px; margin-inline: auto; }
  .about-img-wrap img { height: 380px; }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
  .product-carousel-wrap { height: 500px; }
  .pc-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: clamp(3rem, 11vw, 5rem); }
  .stat-sep   { display: none; }
  .stats-grid { justify-content: center; gap: 1.5rem; }
  .ring-1, .ring-2 { display: none; }
  .product-carousel-wrap { height: 440px; }
  .pc-info   { padding: 0 1.5rem 1rem; }
  .pc-footer { padding: .9rem 1.5rem 1.4rem; gap: .8rem; }
  .pc-name   { font-size: clamp(1.5rem, 5vw, 2rem); }
}
@media (max-width: 600px) {
  .why-grid          { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; }
  .about-years-badge { right: 0; }
  .product-carousel-wrap { height: 380px; }
  .pc-desc    { display: none; }
  .pc-counter { display: none; }
}
