/* ===== Iesmart — Nosotros ===== */

/* Hero */
.nos-hero {
  overflow: hidden;
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.nos-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 10s ease;
}
.nos-hero:hover .nos-hero-bg { transform: scale(1); }
.nos-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,18,8,0.82) 0%, rgba(8,18,8,0.5) 55%, rgba(8,18,8,0.2) 100%);
}
.nos-hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
}
.nos-hero-content .hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(107,191,78,0.2);
  color: #a8e07a;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 50px;
  margin-bottom: 20px;
}
.nos-hero-content h1 {
  font-size: 3rem; font-weight: 900; color: #fff;
  line-height: 1.12; margin-bottom: 18px;
}
.nos-hero-content h1 .highlight { color: var(--color-green); }
.nos-hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem; line-height: 1.72;
  margin-bottom: 34px; max-width: 560px;
}
.nos-hero-badges {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.nos-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 10px 20px;
  color: #fff; font-size: 0.88rem; font-weight: 600;
}
.nos-badge svg { width: 16px; height: 16px; color: var(--color-green); flex-shrink: 0; }

/* Animate */
.animate-in { opacity: 0; transform: translateY(24px); animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.28s; }
.delay-3 { animation-delay: 0.42s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Stats */
.nos-stats { padding: 0; background: var(--color-white); }
.nos-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--color-green);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.nos-stat {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.07);
}
.nos-stat:last-child { border-right: none; }
.nos-stat-num {
  font-size: 2.8rem; font-weight: 900;
  color: var(--color-green-dark);
  line-height: 1;
  margin-bottom: 8px;
}
.nos-stat p { font-size: 0.85rem; color: var(--color-gray-text); margin: 0; line-height: 1.5; }

/* Historia */
.nos-historia { padding: 90px 0; }
.nos-historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.nos-historia-img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
  aspect-ratio: 4/3;
  position: relative;
}
.nos-historia-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.nos-historia-img:hover img { transform: scale(1.04); }
.nos-historia-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--color-green);
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(60,140,30,0.35);
  line-height: 1.3;
}
.nos-historia-badge span { display: block; font-size: 0.75rem; font-weight: 500; opacity: 0.9; }

.nos-historia-text .section-label {
  display: inline-block;
  background: rgba(107,191,78,0.1);
  color: var(--color-green-dark);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 14px;
}
.nos-historia-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 18px; line-height: 1.25; }
.nos-historia-text p {
  color: var(--color-gray-text); font-size: 0.97rem;
  line-height: 1.78; margin-bottom: 16px;
}
.nos-historia-text p:last-of-type { margin-bottom: 28px; }

/* Valores */
.nos-valores { background: var(--color-bg); padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-label {
  display: inline-block;
  background: rgba(107,191,78,0.1);
  color: var(--color-green-dark);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 12px;
}
.section-header h2 { font-size: 2rem; margin-bottom: 10px; }
.section-header p { color: var(--color-gray-text); font-size: 1rem; max-width: 500px; margin: 0 auto; }

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1020px;
  margin: 0 auto;
}
.valor-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 3px solid transparent;
}
.valor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
  border-top-color: var(--color-green);
}
.valor-icon {
  width: 52px; height: 52px;
  background: rgba(107,191,78,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.valor-icon svg { width: 24px; height: 24px; color: var(--color-green-dark); }
.valor-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--color-dark); }
.valor-card p { font-size: 0.87rem; color: var(--color-gray-text); line-height: 1.65; margin: 0; }

/* Clientes */
.nos-clientes { padding: 80px 0 60px; }
.logos-marquee-wrap { overflow: hidden; margin: 0; }
.logos-marquee-track {
  display: flex; gap: 20px;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.logos-marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-chip {
  background: var(--color-white);
  border-radius: 12px;
  padding: 18px 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  min-width: 160px; height: 80px;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}
.logo-chip:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.logo-chip img { max-height: 44px; max-width: 120px; object-fit: contain; filter: none; }
.logo-chip:hover img { filter: grayscale(0%); }

/* Proveedores */
.nos-proveedores { background: var(--color-bg); padding: 60px 0 80px; }

/* CTA */
.nos-cta { padding: 80px 0; }
.nos-cta-box {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, #3a8a20 100%);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 20px 50px rgba(60,130,30,0.28);
  position: relative;
  overflow: hidden;
}
.nos-cta-box::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.nos-cta-box::after {
  content: '';
  position: absolute;
  right: 80px; bottom: -80px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.nos-cta-text { position: relative; z-index: 1; }
.nos-cta-text h2 { font-size: 2rem; color: #fff; font-weight: 800; margin-bottom: 10px; }
.nos-cta-text p { color: rgba(255,255,255,0.8); font-size: 0.97rem; margin: 0; }
.nos-cta-actions {
  display: flex; gap: 14px; flex-shrink: 0;
  position: relative; z-index: 1;
}
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 0.93rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }
.btn-wa svg { width: 18px; height: 18px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 0.93rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-white:hover { background: rgba(255,255,255,0.25); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .nos-historia-grid { grid-template-columns: 1fr; gap: 36px; }
  .valores-grid { grid-template-columns: minmax(0, 460px); justify-content: center; }
  .nos-cta-box { flex-direction: column; text-align: center; padding: 40px 30px; }
  .nos-cta-actions { justify-content: center; }
}
@media (max-width: 600px) {
  .nos-hero { height: auto; min-height: 460px; padding: 70px 0 60px; }
  .nos-hero-content h1 { font-size: 2.1rem; }
  .nos-stats-inner { grid-template-columns: 1fr; }
  .nos-stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
  .nos-stat:last-child { border-bottom: none; }
  .valores-grid { grid-template-columns: 1fr; }
  .nos-hero-badges { flex-direction: column; }
}
