/* ============================================================
   AMOR — Nueces y Semillas · Stylesheet
   ============================================================ */

/* ── Variables ── */
:root {
  --green-primary: #67A83A;
  --green-dark:    #4E8B2F;
  --green-light:   #A9D57D;
  --green-xlight:  #EAF4E0;
  --white:         #FFFFFF;
  --off-white:     #F8F8F8;
  --text-dark:     #222222;
  --text-mid:      #555555;
  --text-light:    #888888;
  --border:        rgba(0,0,0,0.08);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg:     0 24px 64px rgba(0,0,0,0.14);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-w:         1280px;
  --nav-h:         80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Lora', 'Playfair Display', serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: 'Montserrat', sans-serif; }
p  { line-height: 1.75; color: var(--text-mid); font-size: 1rem; }

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

.label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green-primary);
  margin-right: 10px;
  vertical-align: middle;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--green-primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(103,168,58,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.visible,
.reveal-right.visible { transform: translateX(0); }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 64px);
  max-width: 1240px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: var(--transition);
}
#nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-mark svg { width: 20px; height: 20px; fill: white; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--green-primary); }
.nav-cta {
  background: var(--green-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--green-dark); color: white; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO — Video fondo ── */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1B3A0E;
}

/* Contenedor del iframe — absoluto dentro del hero */
.hero-video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Fallback: imagen de nueces si el video falla o tiene embedding bloqueado */
  background:
    url('imagenes/Captura de pantalla 2026-05-29 171053.png') center center / cover no-repeat,
    linear-gradient(135deg, #1B3A0E 0%, #2D5C1A 60%, #1B3A0E 100%);
}
.hero-video-bg video {
  position: absolute;
  top: 50%; left: 50%;
  /* Cubre toda la pantalla manteniendo proporción 16:9 */
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  /* Tenue: empieza invisible, aparece con fade suave al cargar */
  opacity: 0;
  transition: opacity 1.4s ease;
}
/* Cuando el video puede reproducirse, aparece con 75% de opacidad (efecto tenue) */
.hero-video-bg.video-ready video { opacity: 0.75; }

/* Overlay oscuro sobre el video/imagen de fondo */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 0, 0.62) 0%,
    rgba(0, 10, 0, 0.50) 60%,
    rgba(0, 30, 5, 0.58) 100%
  );
  z-index: 1;
  /* Transición controlada por JS al hacer scroll */
}

/* Contenido sobre el video */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px 80px 100px;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(169,213,125,0.6); }
  50% { transform: scale(1.3); opacity: 0.8; box-shadow: 0 0 0 6px rgba(169,213,125,0); }
}
.hero-eyebrow-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-light);
}

/* ── Hero layout split ── */
.hero-content {
  display: grid;
  grid-template-columns: 1fr auto 420px;
  gap: 0;
  align-items: center;
}
.hero-content-left { }
.hero-divider-v {
  width: 1px;
  height: 320px;
  margin: 0 56px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,0.35) 20%,
    rgba(255,255,255,0.35) 80%,
    transparent 100%
  );
  align-self: center;
  flex-shrink: 0;
}
.hero-content-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right-logo {
  width: min(90%, 380px);
  filter: drop-shadow(0 16px 60px rgba(0,0,0,0.6));
  animation: heroLogoIn 1.4s 0.6s cubic-bezier(0.16,1,0.3,1) both;
}

/* El h1 hereda Lora desde el selector global, forzamos blanco */
#hero h1 {
  color: white;
  max-width: 680px;
  margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
#hero h1 em {
  font-style: italic;
  color: var(--green-light);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin-bottom: 48px;
}
.hero-metrics {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  width: fit-content;
}
.metric-number {
  font-family: 'Lora', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.metric-number span { color: var(--green-light); }
.metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-actions { display: flex; gap: 16px; align-items: center; }

/* Indicador de scroll */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Logo en nav */
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Empacados con fondo claro para empaques blancos */
.empacado-bg-light {
  background: var(--off-white) !important;
}
.empacado-bg-light img {
  object-fit: contain !important;
  padding: 16px;
}

/* ── QUIÉNES SOMOS ── */
#quienes-somos {
  background: var(--white);
  overflow: hidden;
}
.qs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.qs-content { }
.qs-content h2 { margin-bottom: 24px; }
.qs-content p { margin-bottom: 20px; }
.qs-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.qs-value-item {
  padding: 20px;
  background: var(--green-xlight);
  border-radius: var(--radius);
  border-left: 3px solid var(--green-primary);
}
.qs-value-item h4 { font-size: 0.9rem; color: var(--text-dark); margin-bottom: 4px; }
.qs-value-item p { font-size: 0.82rem; color: var(--text-mid); }
.qs-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 580px;
}
.qs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qs-image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 160px;
  height: 160px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
}
.qs-image-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  line-height: 1;
}
.qs-image-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.9;
}

/* ── INFRAESTRUCTURA ── */
#infraestructura {
  background: #1B3A0E;
  color: white;
  overflow: hidden;
}
#infraestructura .label { color: var(--green-light); }
#infraestructura .label::before { background: var(--green-light); }
#infraestructura h2 { color: white; }
.infra-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.infra-header p { color: rgba(255,255,255,0.65); font-size: 1.05rem; }
.infra-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.infra-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.infra-card:hover {
  background: rgba(103,168,58,0.15);
  border-color: rgba(103,168,58,0.4);
  transform: translateY(-4px);
}
.infra-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(103,168,58,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.infra-card-icon svg { width: 24px; height: 24px; stroke: var(--green-light); }
.infra-card h4 { color: white; font-size: 1rem; margin-bottom: 10px; }
.infra-card p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; }
.infra-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.infra-metric {
  background: rgba(255,255,255,0.04);
  padding: 40px;
  text-align: center;
}
.infra-metric-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 8px;
}
.infra-metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ── COBERTURA ── */
#cobertura {
  background: var(--off-white);
  overflow: hidden;
}
.cobertura-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cobertura-content h2 { margin-bottom: 20px; }
.cobertura-content p { margin-bottom: 32px; }
.cobertura-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.city-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.city-chip:hover {
  border-color: var(--green-primary);
  box-shadow: 0 4px 20px rgba(103,168,58,0.15);
  transform: translateY(-2px);
}
.city-dot {
  width: 10px;
  height: 10px;
  background: var(--green-primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.city-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}
.city-state {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 1px;
}

/* Mexico SVG Map */
.mapa-container {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mapa-container svg {
  width: 100%;
  height: auto;
}
.mapa-state {
  fill: #e8e8e8;
  stroke: white;
  stroke-width: 0.8;
  transition: fill 0.3s;
}
.mapa-state.active {
  fill: var(--green-light);
}
.mapa-state.highlighted {
  fill: var(--green-primary);
}
.mapa-marker {
  cursor: pointer;
}
.mapa-marker circle {
  fill: var(--green-primary);
  stroke: white;
  stroke-width: 3;
}
.mapa-marker text {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 700;
  fill: var(--text-dark);
  dominant-baseline: middle;
}

/* ── ORIGEN ── */
#origen {
  background: var(--white);
  overflow: hidden;
}
.origen-header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.origen-header h2 { margin-bottom: 16px; }
.origen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.origen-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.origen-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.origen-card-img {
  height: 280px;
  overflow: hidden;
}
.origen-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.origen-card:hover .origen-card-img img { transform: scale(1.06); }
.origen-card-body { padding: 28px; background: white; }
.origen-card-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.origen-card-body p { font-size: 0.88rem; color: var(--text-mid); }

/* ── PRODUCTOS ── */
#productos {
  background: var(--off-white);
}
.productos-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.productos-header h2 { margin-bottom: 16px; }
.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.producto-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.producto-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--green-light);
}
.producto-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--green-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
}
.producto-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.producto-card:hover .producto-card-img img { transform: scale(1.08); }
.producto-card-body { padding: 24px 20px; }
.producto-card-body h4 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 6px; font-family: 'Playfair Display', serif; }
.producto-card-body p { font-size: 0.8rem; color: var(--text-light); }
.producto-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--green-xlight);
  color: var(--green-dark);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── PRODUCTOS EMPACADOS ── */
#productos-empacados {
  background: var(--green-xlight);
  color: var(--text-dark);
  overflow: hidden;
}
#productos-empacados .label { color: var(--green-dark); }
#productos-empacados .label::before { background: var(--green-dark); }
#productos-empacados h2 { color: var(--text-dark); margin-bottom: 16px; }
#productos-empacados > .container > p { color: var(--text-mid); margin-bottom: 56px; }

/* Grid 4 + 3 para 7 productos */
.empacados-grid7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.empacados-grid7 .empacado-card:nth-child(5),
.empacados-grid7 .empacado-card:nth-child(6),
.empacados-grid7 .empacado-card:nth-child(7) {
  /* 3 cards en segunda fila — center with grid offset trick */
  margin-top: 0;
}

.empacado-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.empacado-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.empacado-card-img {
  height: 200px;
  overflow: hidden;
}
.empacado-card-img img { width: 100%; height: 100%; object-fit: cover; }
.empacado-card-body { padding: 20px; }
.empacado-card-body h3 { color: var(--text-dark); font-size: 1rem; margin-bottom: 6px; }
.empacado-card-body p { color: var(--text-mid); font-size: 0.82rem; line-height: 1.55; }

/* ── PRODUCTOS A GRANEL ── */
#productos-granel {
  background: var(--off-white);
}
.granel-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }

/* Grid de cards con imagen grande */
.granel-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.granel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.granel-card:hover {
  border-color: var(--green-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.granel-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--white);
}
.granel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.5s ease;
}
.granel-card:hover .granel-card-img img { transform: scale(1.08); }
.granel-card h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 14px 12px 18px;
}

/* Banner mayoreo */
.granel-mayoreo {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.granel-mayoreo-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.granel-mayoreo-img img {
  width: 100%;
  max-width: 340px;
  object-fit: contain;
}
.granel-mayoreo-text h3 { margin-bottom: 16px; font-size: 1.6rem; }
.granel-mayoreo-text p { font-size: 1rem; line-height: 1.8; }

/* Mapa Google Maps */
.mapa-google-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.mapa-google-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Overlay de pins sobre el iframe */
.mapa-pins-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
/* Mapa fotográfico (fallback) */
.mapa-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}
.mapa-foto {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.mapa-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.mapa-pin:hover .pin-dot { transform: scale(1.4); }
.pin-dot--main   { background: #E8A000; width: 18px; height: 18px; }
.pin-dot--origen { background: #4E8B2F; }
.pin-dot--dist   { background: #67A83A; }
.pin-label {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  white-space: nowrap;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.pin-label small { font-weight: 500; color: var(--text-light); display: block; }
.pin-label--left { order: -1; }
.mapa-leyenda {
  display: flex;
  gap: 20px;
  padding: 16px 0 0;
  flex-wrap: wrap;
}
.leyenda-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-mid);
}
.leyenda-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.leyenda-dot--main   { background: #E8A000; }
.leyenda-dot--origen { background: #4E8B2F; }
.leyenda-dot--dist   { background: #67A83A; }

/* ── MAQUILA ── */
#maquila {
  background: var(--off-white);
  overflow: hidden;
}
.maquila-header { text-align: center; max-width: 600px; margin: 0 auto 80px; }
.maquila-header h2 { margin-bottom: 16px; }
.maquila-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.maquila-process::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, var(--green-light), var(--green-primary));
  z-index: 0;
}
.maquila-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.maquila-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(103,168,58,0.35);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}
.maquila-step:hover .maquila-step-num {
  transform: scale(1.1);
  background: var(--green-dark);
}
.maquila-step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maquila-step-icon svg { width: 32px; height: 32px; stroke: var(--green-primary); }
.maquila-step h4 { font-size: 0.9rem; color: var(--text-dark); margin-bottom: 8px; }
.maquila-step p { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }

/* ── CTA ── */
#cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 60%, #8BC653 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
#cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-inner .label { color: rgba(255,255,255,0.8); }
.cta-inner .label::before { background: rgba(255,255,255,0.8); }
.cta-inner h2 {
  color: white;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 24px;
}
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 48px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Secciones full-screen — fondos sólidos obligatorios ── */
#quienes-somos,
#infraestructura,
#cobertura,
#origen,
#productos,
#productos-empacados,
#productos-granel,
#maquila { min-height: 100dvh; display: flex; align-items: center; position: relative; z-index: 1; }
/* Fondos explícitos para que no haya transparencia entre secciones */
#quienes-somos  { background: var(--white); }
#cobertura      { background: var(--off-white); }
#origen         { background: var(--white); }
#productos      { background: var(--off-white); }
#productos-granel { background: var(--off-white); }
#maquila        { background: var(--white); }
#quienes-somos .container,
#infraestructura .container,
#cobertura .container,
#origen .container,
#productos .container,
#productos-empacados .container,
#productos-granel .container,
#maquila .container { width: 100%; }

/* ── CONTACTO ── */
#contacto {
  background: #1B3A0E;
  color: white;
  padding: 100px 0 60px;
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}
.contacto-brand h3 { color: white; font-size: 1.6rem; margin-bottom: 12px; }
.contacto-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.contacto-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
}
.contacto-info ul { display: flex; flex-direction: column; gap: 12px; }
.contacto-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.5;
}
.contacto-info li svg { width: 18px; height: 18px; stroke: var(--green-light); flex-shrink: 0; margin-top: 2px; }
.contacto-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contacto-bottom p { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.contacto-certifications {
  display: flex;
  gap: 12px;
}
.cert-badge {
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ── Mobile Nav Menu ── */
#nav-mobile-menu {
  display: none;
  position: fixed;
  top: 100px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
#nav-mobile-menu.open { display: flex; }
#nav-mobile-menu a {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius);
  transition: background 0.2s;
}
#nav-mobile-menu a:hover { background: var(--green-xlight); color: var(--green-primary); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .infra-cards { grid-template-columns: repeat(2, 1fr); }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .granel-grid-v2 { grid-template-columns: repeat(3, 1fr); }
  .granel-mayoreo { grid-template-columns: 1fr; text-align: center; }
  .granel-mayoreo-img { justify-content: center; }
  .maquila-process { grid-template-columns: 1fr 1fr; gap: 40px; }
  .maquila-process::before { display: none; }
  .empacados-grid7 { grid-template-columns: repeat(3, 1fr); }
  .contacto-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 80px 0; }
  #nav { width: calc(100% - 32px); padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 120px 20px 80px; }
  .hero-metrics { gap: 24px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; }

  .qs-grid { grid-template-columns: 1fr; gap: 40px; }
  .qs-image { height: 320px; order: -1; }
  .qs-image-badge { display: none; }
  .qs-values { grid-template-columns: 1fr; }

  .infra-header { grid-template-columns: 1fr; gap: 24px; }
  .infra-cards { grid-template-columns: 1fr; }
  .infra-metrics { grid-template-columns: 1fr; }

  .cobertura-grid { grid-template-columns: 1fr; gap: 40px; }
  .cobertura-cities { grid-template-columns: 1fr; }

  .origen-cards { grid-template-columns: 1fr; }
  .productos-grid { grid-template-columns: 1fr 1fr; }
  .granel-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .granel-mayoreo { padding: 28px; }
  .empacados-grid7 { grid-template-columns: 1fr 1fr; }

  .maquila-process { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; align-items: center; }

  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacto-bottom { flex-direction: column; gap: 20px; text-align: center; }

  .deco-float { display: none; }         /* ocultar decoraciones en móvil */
  .granel-mayoreo { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
  .granel-mayoreo-img img { max-width: 220px; }
  .hero-logo-wrap { margin-bottom: 28px; }
  .hero-logo-wrap img { height: 60px; }
  .metric-number { font-size: 2rem; }
}

@media (max-width: 480px) {
  .productos-grid   { grid-template-columns: 1fr; }
  .empacados-grid7  { grid-template-columns: 1fr; }
  .granel-grid-v2   { grid-template-columns: 1fr 1fr; }
  .cobertura-cities { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-content { padding: 110px 16px 72px; }
}

/* ═══════════════════════════════════════════════════════════
   TONOS VERDES POR SECCIÓN
   ═══════════════════════════════════════════════════════════ */
#quienes-somos  { background: linear-gradient(160deg, #ffffff 0%, #eef8e4 100%); }
#cobertura      { background: linear-gradient(145deg, #f3f9ed 0%, #e5f4d5 100%); }
#origen         { background: linear-gradient(160deg, #fafffe 0%, #eaf6e2 100%); }
#productos      { background: linear-gradient(145deg, #f5f9f0 0%, #eaf3e0 100%); }
#productos-granel { background: linear-gradient(160deg, #f2f9ea 0%, #e6f3d8 100%); }
#maquila        { background: linear-gradient(145deg, #ffffff 0%, #f0f9e8 100%); }

/* ═══════════════════════════════════════════════════════════
   LOGO EN EL HERO
   ═══════════════════════════════════════════════════════════ */
.hero-logo-wrap {
  margin-bottom: 40px;
  animation: heroLogoIn 1s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-logo-wrap img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 4px 28px rgba(0,0,0,0.5));
}
@keyframes heroLogoIn {
  from { opacity:0; transform: translateY(-20px) scale(0.92); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   DECORACIONES FLOTANTES PARALLAX
   ═══════════════════════════════════════════════════════════ */
.deco-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.deco-float {
  position: absolute;
  user-select: none;
  pointer-events: none;
  will-change: transform;
}
/* Asegurar que el contenido de las secciones quede sobre las decoraciones */
section .container,
section .qs-grid,
section .infra-header,
section .infra-cards,
section .infra-metrics,
section .cobertura-grid,
section .origen-header,
section .origen-cards,
section .productos-header,
section .productos-grid,
section .granel-header,
section .granel-grid-v2,
section .granel-mayoreo,
section .maquila-header,
section .maquila-process,
footer .container { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════
   ANIMACIONES ADICIONALES
   ═══════════════════════════════════════════════════════════ */

/* Entrada con escala para tarjetas */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.visible { opacity:1; transform: scale(1) translateY(0); }

/* Hover animado en producto-card con lift y brillo */
.producto-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s ease;
}
.producto-card:hover { transform: translateY(-10px) scale(1.02); }

/* Hover en granel-card con zoom de imagen */
.granel-card { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease; }
.granel-card:hover { transform: translateY(-8px) scale(1.03); }

/* Hover empacado-card */
.empacado-card { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease; }
.empacado-card:hover { transform: translateY(-8px); }

/* Pulse en el número métrico al entrar */
@keyframes metricPop {
  0%   { transform: scale(0.8); opacity:0; }
  70%  { transform: scale(1.08); opacity:1; }
  100% { transform: scale(1); }
}
.metric-number.popped { animation: metricPop 0.6s cubic-bezier(0.16,1,0.3,1) both; }

/* Icono de maquila-step — rotación hover */
.maquila-step-icon { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.maquila-step:hover .maquila-step-icon { transform: rotate(-12deg) scale(1.15); }

/* infra-card — borde animado al hover */
.infra-card { transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.infra-card:hover { transform: translateY(-6px) scale(1.01); }

/* city-chip — slide-right hover */
.city-chip { transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.city-chip:hover { transform: translateX(6px); }

/* origen-card imagen — zoom suave */
.origen-card-img img { transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.origen-card:hover .origen-card-img img { transform: scale(1.08); }

/* btn — micro-scale press */
.btn { transition: background 0.3s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease; }
.btn:active { transform: scale(0.95) !important; }

/* qs-value-item — slide-up */
@keyframes slideUpFade {
  from { opacity:0; transform: translateY(16px); }
  to   { opacity:1; transform: translateY(0); }
}
.qs-values.visible .qs-value-item:nth-child(1) { animation: slideUpFade 0.5s 0.05s both; }
.qs-values.visible .qs-value-item:nth-child(2) { animation: slideUpFade 0.5s 0.15s both; }
.qs-values.visible .qs-value-item:nth-child(3) { animation: slideUpFade 0.5s 0.25s both; }
.qs-values.visible .qs-value-item:nth-child(4) { animation: slideUpFade 0.5s 0.35s both; }

/* badge estático — sin rotación */
.qs-image-badge { animation: none; }
.qs-image-badge strong,
.qs-image-badge span { display: block; }

/* hero-scroll-hint — parpadeo rítmico */
.scroll-line { animation: scrollPulse 1.8s ease-in-out infinite; }

/* ── WhatsApp flotante ── */
#whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Entrada con rebote, luego animación de atención periódica cada 7s */
  animation:
    waBounceIn  0.8s 1.5s  cubic-bezier(0.34,1.56,0.64,1) both,
    waAttention 7s   3.5s  ease-in-out infinite;
}
#whatsapp-btn:hover {
  animation-play-state: paused;
  transform: scale(1.15) translateY(-3px) !important;
  box-shadow: 0 10px 36px rgba(37,211,102,0.6) !important;
}
#whatsapp-btn svg { width: 32px; height: 32px; fill: white; pointer-events: none; }

/* Tooltip */
.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text-dark);
  border-right: none;
}
#whatsapp-btn:hover .wa-tooltip { opacity: 1; }

@keyframes waBounceIn {
  from { opacity:0; transform: scale(0) rotate(-30deg); }
  to   { opacity:1; transform: scale(1) rotate(0deg); }
}

/* ── WhatsApp en nav — solo ícono ── */
.nav-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-wa:hover { background: #1ebe5d; transform: scale(1.12); }
.nav-wa svg  { width: 20px; height: 20px; fill: white; }

/* ── WhatsApp flotante — animación de atención periódica ── */
@keyframes waAttention {
  0%   { transform: scale(1); box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  8%   { transform: scale(1.18); box-shadow: 0 8px 36px rgba(37,211,102,0.65); }
  16%  { transform: scale(1.05); box-shadow: 0 6px 28px rgba(37,211,102,0.50); }
  24%  { transform: scale(1.14); box-shadow: 0 8px 36px rgba(37,211,102,0.60); }
  32%  { transform: scale(1); box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  100% { transform: scale(1); box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none !important; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.90);
  cursor: pointer;
}
.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  animation: lightboxIn 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes lightboxIn {
  from { opacity:0; transform: scale(0.88); }
  to   { opacity:1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  font-family: sans-serif;
  padding: 0;
}
.lightbox-close:hover { opacity: 1; transform: scale(1.2) rotate(90deg); }
.lightbox-img-wrap {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.lightbox-img-wrap img {
  display: block;
  max-width: min(88vw, 720px);
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-caption {
  color: white;
  text-align: center;
  max-width: 560px;
}
.lightbox-caption strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.lightbox-caption p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.55;
}

/* Cursor pointer en cards de empacados */
.empacado-card { cursor: pointer; }

/* ── Granel card body con descripción ── */
.granel-card h4 { display: none; } /* reemplazado por .granel-card-body */
.granel-card-body {
  padding: 14px 16px 20px;
  text-align: center;
}
.granel-card-body h4 {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
}
.granel-card-body p {
  font-size: 0.76rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
}

/* ── Hero split — responsive ── */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-divider-v { display: none; }
  .hero-content-right { display: none; }
}

/* nav link — underline animado */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--green-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }
