/* nosotros.css */

/* ─── PAGE HERO ─────────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(123,44,191,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── NOS SPLIT ─────────────────────────────────────────────────────────────── */
.nos-split { padding: 80px 0; border-bottom: 0.5px solid var(--border-light); }
.nos-split-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }

/* Image wrap — position + overflow already present; add overlay via ::after */
.nos-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.nos-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,44,191,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Image — subtle zoom on hover */
.nos-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.8);
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.nos-img-wrap:hover img { transform: scale(1.04); }

.nos-text h2 { margin-bottom: 24px; }
.nos-body { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.nos-body p { font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--text-muted); line-height: 1.85; }

/* ─── VALUES ────────────────────────────────────────────────────────────────── */
.nos-values { padding: 80px 0; background: var(--bg2); border-bottom: 0.5px solid var(--border-light); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); margin-top: 0; }

/* Card — shimmer overlay via ::before */
.value-card {
  background: var(--bg2);
  padding: 36px 28px;
  border: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,44,191,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.value-card:hover { background: var(--bg3); }
.value-card:hover::before { opacity: 1; }

/* Value number — upgraded to large ghost numeral */
.value-num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(123,44,191,0.15);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  font-family: 'Poppins', sans-serif;
}

.value-card h3 { font-size: 16px; margin-bottom: 12px; }
.value-card p { font-family: 'Montserrat',sans-serif; font-size: 12px; color: var(--text-muted); line-height: 1.75; }

/* ─── CTA ───────────────────────────────────────────────────────────────────── */
.nos-cta {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(123,44,191,0.08) 0%, transparent 60%);
}
/* Glowing orb */
.nos-cta::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123,44,191,0.12) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.nos-cta h2 { max-width: 500px; }
.nos-cta p { font-family: 'Montserrat',sans-serif; font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nos-split-inner { grid-template-columns: 1fr; gap: 40px; }
  .nos-img-wrap { max-height: 320px; aspect-ratio: 3/4; }
  .values-grid { grid-template-columns: 1fr; }
}
