/* ===== Grid tipo Apple ===== */
.env-apple {
  --bg: #232323;
  --text: #ffffff;
  --muted: #919191;
  --card: #191919;
  --r: 28px
}

.env-apple {
  background: var(--bg);
  color: var(--text);
  padding: clamp(60px, 6vw, 100px) 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui
}

.env-shell {
  max-width: 1180px;
  margin: 0 auto
}

.env-title {
  text-align: center;
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 38px;
  color: #ffffff;
}

.env-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
}

.env-card {
  position: relative;
  background: #191919;
  border-radius: var(--r);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  padding: 34px 26px;
  transition: transform .25s, box-shadow .25s
}

.env-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .1)
}

.env-ico {
  font-size: 34px;
  margin-bottom: 12px
}

.env-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px
}

.env-card p {
  color: var(--muted);
  margin: 0 0 28px
}

.env-plus {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #000000;
  cursor: pointer;
  transition: transform .2s, background .2s
}

.env-plus::before,
.env-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 2px;
  background: #d6d9df;
  border-radius: 2px
}

.env-plus::after {
  transform: rotate(90deg)
}

.env-plus:hover {
  transform: scale(1.06);
  background: #303030
}

/* ===== Modal Apple con blur y transiciones suaves ===== */
.env-modal[hidden] {
  display: none
}

.env-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center
}

.env-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px) saturate(110%);
  opacity: 0;
  transition: opacity .28s ease
}

.env-sheet {
  position: relative;
  max-width: min(860px, 92vw);
  background: #fff;
  color: #000000;
  border-radius: 26px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .35);
  padding: 30px 30px 26px;
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition: opacity .28s cubic-bezier(.2, .7, .3, 1), transform .28s cubic-bezier(.2, .7, .3, 1)
}

.env-h {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  margin: 6px 6px 14px
}

.env-body {
  font-size: 16.5px;
  line-height: 1.7;
  color: #2b2f36
}

.env-body p {
  margin: 0 6px 14px;
  text-align: justify
}

.env-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #000000;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: transform .15s ease, opacity .2s
}

.env-close:hover {
  transform: scale(1.06);
  opacity: .95
}

/* Estado abierto */
.env-modal.open .env-backdrop {
  opacity: 1
}

.env-modal.open .env-sheet {
  opacity: 1;
  transform: translateY(0) scale(1)
}

/* Accesibilidad: menor movimiento */
@media (prefers-reduced-motion:reduce) {

  .env-backdrop,
  .env-sheet {
    transition: none
  }
}

/* Dark */
@media (prefers-color-scheme:dark) {
  .env-apple {
    --bg: #232323;
    --text: #ffffff;
    --muted: #a0a0a5;
    --card: #191919;
  }

  .env-sheet {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .7)
  }

  .env-body {
    color: #252525
  }

  .env-close {
    background: #000000;
    color: #e7ebf5
  }
}

.team {
  background: #191919 !important;
  padding: 60px 0 30px 0;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #ffffff !important;
}


.justificador {
  text-align: justify !important;
  color: #919191 !important;
}